{extends file="admin-layout.tpl"} {block name="page-title"}{intl l='Thelia Mailing Templates'}{/block} {block name="check-permissions"}admin.configuration.messages.view{/block} {block name="main-content"}
{* Adding a new message *} {form name="thelia.admin.message.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 message ID, see controller *} {/form_field} {* We do not allow users to create secured messages from here *} {form_field form=$form field='secured'} {/form_field} {form_field form=$form field='name'}