0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

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 2021-01-17 21:26:18 +01:00 committed by GitHub
parent 36193c934e
commit 2e0d813bfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}}"/>