[*] BO #PSFV-94 : update of the displayform method by helperForm in AdminGenderController

This commit is contained in:
lLefevre
2011-10-14 12:59:26 +00:00
parent 132ecf9324
commit 0d8fcdf2a7
6 changed files with 259 additions and 157 deletions
+4 -1
View File
@@ -55,7 +55,7 @@
<script type="text/javascript" src="../js/form.js"></script>
{/if}
<form action="{$current}&submitAdd{$table}=1&token={$token}" method="post">
<form action="{$current}&submitAdd{$table}=1&token={$token}" method="post" enctype="multipart/form-data">
{if $form_id}
<input type="hidden" name="id_{$table}" value="{$form_id}" />
{/if}
@@ -172,6 +172,9 @@
{/if}
{elseif $input.type == 'checkbox'}
{elseif $input.type == 'file'}
<input type="file" name="{$input.name}" />
<img src="{$fields_value[$input.name]}" />
{/if}
{if isset($input.required) && $input.required} <sup>*</sup>{/if}
{if isset($input.p)}