{extends file="admin-layout.tpl"} {block name="no-return-functions"} {$admin_current_location = 'tools'} {/block} {block name="check-resource"}admin.coupon{/block} {block name="check-access"}update{/block} {block name="page-title"}{intl l='Update coupon'}{/block} {block name="main-content"}
{form name="thelia.admin.coupon.creation"} {include file='coupon/form.html' formAction={url path={$formAction}} noConditions=false title={intl l='Editing coupon "%title"' title=$couponCode}} {/form}
{/block} {block name="javascript-initialization"} {javascripts file='assets/js/json2.js'}
{/javascripts} {javascripts file='assets/js/coupon.js'}
{/javascripts}
{/block} {block name="javascript-last-call"} {hook name="coupon.update-js" location="coupon-update-js" coupon_id={$couponId} } {hook name="wysiwyg.js" location="wysiwyg-coupon-update-js" } {/block}