small fixes on frontoffice

This commit is contained in:
Julien Chanséaume
2014-07-25 17:07:58 +02:00
committed by Julien Chanseaume
parent e76ad60342
commit bd5dd4a172
5 changed files with 13 additions and 9 deletions

View File

@@ -26,7 +26,8 @@
{loop name="customer.update" type="address" customer="current" id="{$address_id}"}
<form id="form-address" class="form-horizontal" action="{url path="/address/update/{$address_id}"}" method="post">
{form_field form=$form field='success_url'}
<input type="hidden" name="{$name}" value="{url path="/account"}" />
{$next_url=$smarty.get.next|default:{url path="/account"}}
<input type="hidden" name="{$name}" value="{$next_url}" />
{/form_field}
{form_field form=$form field='error_message'}