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

58 lines
1.6 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 %}
2016-01-19 11:32:09 -06:00
<div class="login-box-body">
{% if session('status') %}
<p class="login-box-msg text-success">
{{ session('status') }}
</p>
{% else %}
<p class="login-box-msg">Reset your password</p>
<form role="form" method="POST" action="{{ URL.to('/password/email') }}">
<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>
2015-06-21 04:59:35 -05:00
2016-01-19 11:32:09 -06:00
<div class="row">
<!-- /.col -->
<div class="col-xs-12">
<button type="submit" class="btn btn-primary btn-flat pull-right">Reset</button>
</div>
<!-- /.col -->
</div>
2015-06-21 04:59:35 -05:00
2016-01-19 11:32:09 -06:00
</form>
{% endif %}
2015-06-21 04:59:35 -05:00
2016-01-19 11:10:30 -06:00
<a href="{{ URL.to('/login') }}">I want to login</a><br>
2016-01-19 11:14:15 -06:00
<a href="{{ URL.to('/password/reset') }}">I forgot my password</a>
2015-06-21 04:59:35 -05:00
</div><!-- /.login-box-body -->
{% endblock %}