add smarty function form_enctype

This commit is contained in:
Manuel Raynaud
2013-06-25 10:48:30 +02:00
parent fe92cc546a
commit 2fb6ec2a7d
3 changed files with 22 additions and 6 deletions

View File

@@ -7,8 +7,9 @@ An image from asset directory :
<div>
{intl l='An internationalized string'}
</div>
<form method="post" action="index_dev.php" >
{form name="thelia.customer.creation"}
<form method="post" action="index_dev.php" {form_enctype form=$form} >
{form_field_hidden form=$form}
{form_field form=$form.email}
{intl l='email'} : <input type="text" name="{$name}">
@@ -20,8 +21,8 @@ An image from asset directory :
{form_field form=$form.age}
{intl l='age'} : <input type="text" name="{$name}">
{/form_field}
{/form}
</form>
{/form}
<div>
jQuery data: <span id="jquery_block"></span>
</div>