Merge branch 'form'

This commit is contained in:
Manuel Raynaud
2013-07-01 16:57:32 +02:00
13 changed files with 283 additions and 70 deletions

View File

@@ -7,22 +7,8 @@ An image from asset directory :
<div>
{intl l='An internationalized string'}
</div>
{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="{$label}"} : <input type="text" name="{$name}" {$attr} >
{/form_field}
{form_field form=$form.name}
{intl l='name'} : <input type="text" name="{$name}" >
{/form_field}
{form_field form=$form.age}
{intl l='age'} : <input type="text" name="{$name}">
{/form_field}
</form>
{/form}
<div>
jQuery data: <span id="jquery_block"></span>
</div>