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

@@ -14,7 +14,7 @@
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="Create New Account"}</h1>
{form name="thelia.customer.creation"}
{form name="thelia.front.customer.create"}
<form id="form-register" class="form-horizontal" action="{url path="/register"}" 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 registration success *}