List of addresses needs a Line Feed

Edit field does display a list of aliases in a single line in the edit form field. Adding a Line Feed character fixes this problem.
This commit is contained in:
Gianluca Giacometti authored and David Goodwin committed 2021-01-17 22:21:30 +00:00
1 parent 910490e83f
commit ea560553e9
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@
{elseif $field.type == 'pass' || $field.type == 'b64p'}
<input class="form-control" type="password" name="value[{$key}]"/>
{elseif $field.type == 'txtl'}
<textarea class="form-control" rows="10" cols="35" name="value[{$key}]">{foreach key=key2 item=field2 from=$value_{$key}}{$field2}{/foreach}</textarea>
<textarea class="form-control" rows="10" cols="35" name="value[{$key}]">{foreach key=key2 item=field2 from=$value_{$key}}{$field2}&#10;{/foreach}</textarea>
{else}
<input class="form-control" type="text" name="value[{$key}]"
value="{$value_{$key}}"/>