Découple le fond de la form
(huhu)
This commit is contained in:
parent
1fa3bdf25b
commit
ba53b924c6
4 changed files with 12 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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" %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue