mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-03 12:47:17 -06:00
58 lines
1.6 KiB
Twig
58 lines
1.6 KiB
Twig
{% extends "./layout/guest.twig" %}
|
|
|
|
{% block content %}
|
|
|
|
|
|
{% 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">
|
|
{% 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>
|
|
|
|
<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>
|
|
|
|
</form>
|
|
|
|
{% endif %}
|
|
|
|
<a href="{{ URL.to('/login') }}">I want to login</a><br>
|
|
<a href="{{ URL.to('/password/reset') }}">I forgot my password</a>
|
|
|
|
</div><!-- /.login-box-body -->
|
|
|
|
{% endblock %}
|