Découple le fond de la form (huhu)

This commit is contained in:
Ludovic Stephan 2020-06-26 16:18:01 +02:00
parent 1fa3bdf25b
commit ba53b924c6
4 changed files with 12 additions and 5 deletions

View file

@ -40,10 +40,13 @@ h2 {
color: white;
}
.auth_form {
padding: 0.5em;
#container-content {
text-align: center;
width: 100%;
}
.auth_form {
padding: 0.5em;
font-size: 1.5em;
}

View file

@ -4,7 +4,7 @@
<p class="error">{{ error }}</p>
{% endfor %}
<div class="auth_form {{ form_class }}">
<div class="auth_form">
<form action="" method="post">
{% csrf_token %}
{% include "authens/form_snippet.html" %}

View file

@ -6,5 +6,7 @@
{% endblock %}
{% block content %}
{% include "authens/form_full_snippet.html" with form_class="oldcas" submit_text="Se connecter" %}
<div id="container-content" class="oldcas">
{% include "authens/form_full_snippet.html" with submit_text="Se connecter" %}
</div>
{% endblock %}

View file

@ -6,5 +6,7 @@
{% endblock %}
{% block content %}
{% include "authens/form_full_snippet.html" with form_class="exte" submit_text="Se connecter" %}
<div id="container-content" class="exte">
{% include "authens/form_full_snippet.html" with submit_text="Se connecter" %}
</div>
{% endblock %}