mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
editform.tpl:
- replace hardcoded $value_transport with {$value_{$key} git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1270 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
06ffffae7d
commit
3f0e77e6ab
@ -24,7 +24,7 @@
|
||||
<input class="flat" type="checkbox" value='1' name="{$key}"{if {$value_{$key}} == 1} checked="checked"{/if}/>
|
||||
{elseif $field.type == 'enum'}
|
||||
<select class="flat" name="{$key}">
|
||||
{html_options output=$struct.{$key}.options values=$struct.{$key}.options selected=$value_transport}
|
||||
{html_options output=$struct.{$key}.options values=$struct.{$key}.options selected={$value_{$key}}}
|
||||
</select>
|
||||
{else}
|
||||
<input class="flat" type="text" name="{$key}" value="{$value_{$key}}" />
|
||||
|
Loading…
Reference in New Issue
Block a user