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; color: white;
} }
.auth_form { #container-content {
padding: 0.5em;
text-align: center; text-align: center;
width: 100%; width: 100%;
}
.auth_form {
padding: 0.5em;
font-size: 1.5em; font-size: 1.5em;
} }

View file

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

View file

@ -6,5 +6,7 @@
{% endblock %} {% endblock %}
{% block content %} {% 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 %} {% endblock %}

View file

@ -6,5 +6,7 @@
{% endblock %} {% endblock %}
{% block content %} {% 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 %} {% endblock %}