stash light
This commit is contained in:
36
templates/admin/security/login.html.twig
Normal file
36
templates/admin/security/login.html.twig
Normal file
@@ -0,0 +1,36 @@
|
||||
{% extends 'admin/base.html.twig' %}
|
||||
|
||||
{% block title %}Admin Login{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-12 col-md-5 col-lg-4">
|
||||
|
||||
<h1 class="h4 mb-3">Admin Login</h1>
|
||||
|
||||
{% if error %}
|
||||
<div class="alert alert-danger">
|
||||
{{ error.messageKey|trans(error.messageData, 'security') }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<form method="post" action="{{ path('admin_login') }}">
|
||||
<div class="mb-3">
|
||||
<label class="form-label">E-Mail</label>
|
||||
<input class="form-control" name="_username" value="{{ last_username }}" autocomplete="email" required>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Passwort</label>
|
||||
<input class="form-control" type="password" name="_password" autocomplete="current-password" required>
|
||||
</div>
|
||||
|
||||
{# CSRF #}
|
||||
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
||||
|
||||
<button class="btn btn-light w-100" type="submit">Einloggen</button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user