firefly-iii/resources/views/auth/password.twig

49 lines
1.4 KiB
Twig
Raw Normal View History

{% extends "./layout/guest.twig" %}
{% block content %}
2015-06-21 04:59:35 -05:00
{% if session.status %}
<div class="alert alert-success">
{{ session.status }}
</div>
{% endif %}
{% if errors|length > 0 %}
<div class="alert alert-danger">
<strong>Whoops!</strong> There were some problems with your input.<br><br>
<ul>
{% for error in errors.all %}
<li>{{ error }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
<div class="login-box-body">
<p class="login-box-msg">Reset your password</p>
2015-07-12 15:37:05 -05:00
<form role="form" method="POST" action="{{ URL.to('/password/email') }}">
2015-06-21 04:59:35 -05:00
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
<div class="form-group has-feedback">
<input type="email" class="form-control" name="email" placeholder="Email"/>
</div>
<div class="row">
<!-- /.col -->
<div class="col-xs-12">
<button type="submit" class="btn btn-primary btn-flat pull-right">Reset</button>
</div>
2015-06-21 04:59:35 -05:00
<!-- /.col -->
</div>
</form>
2016-01-19 11:10:30 -06:00
<a href="{{ URL.to('/login') }}">I want to login</a><br>
2015-07-12 15:37:05 -05:00
<a href="{{ URL.to('/password/email') }}">I forgot my password</a>
2015-06-21 04:59:35 -05:00
</div><!-- /.login-box-body -->
{% endblock %}