mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03: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:
1 parent
06ffffae7d
commit
3f0e77e6ab
1 file changed
+1
-1
@@ -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}}" />
|
||||
|
||||
Reference in new issue
Block a user