Cleanup :

- I made the form id different between the front and the back office
- I renamed a few files to use the same convention (create / update)
This commit is contained in:
touffies
2013-10-22 09:44:45 +02:00
parent b64dedefc6
commit 0c1ed8e702
19 changed files with 489 additions and 582 deletions

View File

@@ -21,7 +21,7 @@
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="Create New Address"}</h1>
{form name="thelia.address.create"}
{form name="thelia.front.address.create"}
<form id="form-address" class="form-horizontal" action="{url path="/address/create"}" method="post" role="form">
{form_field form=$form field='success_url'}
<input type="hidden" name="{$name}" value="{url path="/account"}" /> {* the url the user is redirected to on login success *}