Changed {navigate to="return_to"} to {navigate to="previous"}

This commit is contained in:
Franck Allimant
2014-06-10 15:54:42 +02:00
parent 0f3e99ac1f
commit 8869a3c571
2 changed files with 2 additions and 1 deletions

View File

@@ -12,6 +12,7 @@
{block name='breadcrumb'}{/block}
{block name="main-content"}
u={viewurl view="legal"}
<section class="carousel-container">
<div id="carousel" class="carousel slide">
<div class="carousel-wrapper">

View File

@@ -19,7 +19,7 @@
<form id="form-login" action="{url path="/login"}" method="post" {form_enctype form=$form} novalidate>
{if $form_error}<div class="alert alert-danger">{$form_error_message}</div>{/if}
{form_field form=$form field='success_url'}
<input type="hidden" name="{$name}" value="{navigate to="return_to"}"> {* the url the user is redirected to on login success *}
<input type="hidden" name="{$name}" value="{navigate to="previous"}"> {* the url the user is redirected to on login success *}
{/form_field}
{form_field form=$form field='error_message'}