{* Adding a new template *}
{form name="thelia.admin.template.creation"}
{* Capture the dialog body, to pass it to the generic dialog *}
{capture "creation_dialog"}
{form_hidden_fields form=$form}
{form_field form=$form field='success_url'}
{* on success, redirect to the edition page, _ID_ is replaced with the created template ID, see controller *}
{/form_field}
{form_field form=$form field='name'}