login consent app sql
This commit is contained in:
44
templates/login.html.twig
Normal file
44
templates/login.html.twig
Normal file
@ -0,0 +1,44 @@
|
||||
{% extends "base.html.twig" %}
|
||||
{% block stylesheets %}
|
||||
<style>
|
||||
body{
|
||||
min-height: 50vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.wrapper{
|
||||
display :flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
|
||||
}
|
||||
form{
|
||||
border: 1px solid grey;
|
||||
border-radius: 5px;
|
||||
padding: 15px;
|
||||
box-shadow: 3px 3px 2px grey, -3px -3px 2px grey;
|
||||
display:flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.form-errors{
|
||||
color: red;
|
||||
}
|
||||
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="wrapper">
|
||||
{{ form_start(form)}}
|
||||
<div class="form-errors">
|
||||
{% if error is defined %}{{ error }}{% endif %}
|
||||
</div>
|
||||
{{ form_widget(form)}}
|
||||
|
||||
<button type="submit" class="btn btn-success">valider</button>
|
||||
{{ form_end(form)}}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
Reference in New Issue
Block a user