Fixes #495
This commit is contained in:
@@ -1,43 +1,44 @@
|
|||||||
{extends file="layout.tpl"}
|
{extends file="layout.tpl"}
|
||||||
|
|
||||||
{* Body Class *}
|
{* Body Class *}
|
||||||
{block name="body-class"}page-password{/block}
|
{block name="body-class"}page-password{/block}
|
||||||
|
|
||||||
{* Breadcrumb *}
|
{* Breadcrumb *}
|
||||||
{block name='no-return-functions' append}
|
{block name='no-return-functions' append}
|
||||||
{$breadcrumbs = [
|
{$breadcrumbs = [
|
||||||
['title' => {intl l="Password"}, 'url'=>{url path="/password"}]
|
['title' => {intl l="Password"}, 'url'=>{url path="/password"}]
|
||||||
]}
|
]}
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
{block name="main-content"}
|
{block name="main-content"}
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<article class="col-main" role="main" aria-labelledby="main-label">
|
<article class="col-main" role="main" aria-labelledby="main-label">
|
||||||
<h1 id="main-label" class="page-header">{intl l="Password Forgotten"}</h1>
|
<h1 id="main-label" class="page-header">{intl l="Password Forgotten"}</h1>
|
||||||
{form name="thelia.front.customer.lostpassword"}
|
{form name="thelia.front.customer.lostpassword"}
|
||||||
<form id="form-forgotpassword" action="{url path="/password"}" method="post">
|
<form id="form-forgotpassword" action="{url path="/password"}" method="post">
|
||||||
{form_hidden_fields form=$form}
|
{form_hidden_fields form=$form}
|
||||||
<p>{intl l="Please enter your email address below."} {intl l="You will receive a link to reset your password."}</p>
|
<p>{intl l="Please enter your email address below."} {intl l="You will receive a link to reset your password."}</p>
|
||||||
{form_field form=$form field="email"}
|
{if $form_error}<div class="alert alert-danger">{$form_error_message}</div>{/if}
|
||||||
<div class="form-group group-email {if $error}has-error{elseif !$error && $value != ""}has-success{/if}">
|
{form_field form=$form field="email"}
|
||||||
<label for="{$label_attr.for}">{$label}</label>
|
<div class="form-group group-email {if $error}has-error{elseif !$error && $value != ""}has-success{/if}">
|
||||||
<div class="control-input">
|
<label for="{$label_attr.for}">{$label}</label>
|
||||||
<input type="email" name="{$name}" value="{$value}" id="{$label_attr.for}" class="form-control" maxlength="255" aria-required="true" autofocus required>
|
<div class="control-input">
|
||||||
{if $error}
|
<input type="email" name="{$name}" value="{$value}" id="{$label_attr.for}" class="form-control" maxlength="255" aria-required="true" autofocus required>
|
||||||
<span class="help-block">{$message}</span>
|
{if $error}
|
||||||
{elseif !$error && $value != ""}
|
<span class="help-block">{$message}</span>
|
||||||
<span class="help-block"><span class="icon-ok"></span> {intl l="You will receive a link to reset your password."}</span>
|
{elseif !$error && $value != ""}
|
||||||
{/if}
|
<span class="help-block"><span class="icon-ok"></span> {intl l="You will receive a link to reset your password."}</span>
|
||||||
</div>
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/form_field}
|
</div>
|
||||||
<div class="group-btn">
|
{/form_field}
|
||||||
<a href="{url path="/login"}" class="btn btn-cancel">{intl l="Cancel"}</a>
|
<div class="group-btn">
|
||||||
<button type="submit" class="btn btn-forgot">{intl l="Send"}</button>
|
<a href="{url path="/login"}" class="btn btn-cancel">{intl l="Cancel"}</a>
|
||||||
</div>
|
<button type="submit" class="btn btn-forgot">{intl l="Send"}</button>
|
||||||
</form>
|
</div>
|
||||||
{/form}
|
</form>
|
||||||
</article>
|
{/form}
|
||||||
</div>
|
</article>
|
||||||
{/block}
|
</div>
|
||||||
|
{/block}
|
||||||
|
|||||||
Reference in New Issue
Block a user