mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-23 20:38:46 +00:00
64 lines
2.4 KiB
Twig
64 lines
2.4 KiB
Twig
{% extends "./layout/guest.twig" %}
|
|
|
|
{% block content %}
|
|
|
|
{% if errors.has('email') %}
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="alert alert-danger alert-dismissible" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">{{ 'close'|_ }}</span>
|
|
</button>
|
|
<strong>Error!</strong> {{ errors.get('email')[0] }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if session('logoutMessage') %}
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="alert alert-info alert-dismissible" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">{{ 'close'|_ }}</span>
|
|
</button>
|
|
{{ session('logoutMessage') }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="login-box-body">
|
|
<p class="login-box-msg">Sign in to start your session</p>
|
|
|
|
<form action="{{ URL.to('/login') }}" method="post">
|
|
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
|
|
|
|
<div class="form-group has-feedback">
|
|
<input type="email" name="email" class="form-control" placeholder="Email"/>
|
|
</div>
|
|
<div class="form-group has-feedback">
|
|
<input type="password" name="password" class="form-control" placeholder="Password"/>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xs-8">
|
|
<div class="checkbox">
|
|
<label>
|
|
<input type="checkbox" name="remember" value="1"> Remember Me
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<!-- /.col -->
|
|
<div class="col-xs-4">
|
|
<button type="submit" class="btn btn-primary btn-block btn-flat">Sign In</button>
|
|
</div>
|
|
<!-- /.col -->
|
|
</div>
|
|
</form>
|
|
{% if not singleUserMode %}
|
|
<a href="{{ URL.to('/register') }}" class="text-center">Register a new account</a><br>
|
|
{% endif %}
|
|
<a href="{{ URL.to('/password/reset') }}">I forgot my password</a>
|
|
</div>
|
|
<!-- /.login-box-body -->
|
|
{% endblock %}
|
|
|