Projet

Général

Profil

0001-templates-use-button-in-custom-login-forms-28750.patch

Frédéric Péters, 07 décembre 2018 12:59

Télécharger (1,93 ko)

Voir les différences:

Subject: [PATCH] templates: use <button> in custom login forms (#28750)

 .../alpes-maritimes-2018/authentic2/login_password_form.html    | 2 +-
 .../grenoble-metropole/authentic2/login_password_form.html      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
templates/variants/alpes-maritimes-2018/authentic2/login_password_form.html
4 4
{% if can_reset_password %}
5 5
<p class="forgot-password"><a href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">Vous avez oublié votre mot de passe ?</a></p>
6 6
<div class="buttons">
7
  <input type="submit" name="{{ submit_name }}" value="S'IDENTIFIER"/>
7
  <button name="{{ submit_name }}">S'IDENTIFIER</button>
8 8
  {% if cancel %}
9 9
  <button class="cancel-button" name="cancel">ANNULER</button>
10 10
  {% endif %}
templates/variants/grenoble-metropole/authentic2/login_password_form.html
5 5
{% csrf_token %}
6 6
{{ form.as_p }}
7 7
<div class="buttons">
8
  <input type="submit" name="{{ submit_name }}" value="CONNECTEZ-VOUS"/>
8
  <button name="{{ submit_name }}">CONNECTEZ-VOUS</button>
9 9
  {% if cancel %}
10 10
  <button class="cancel-button" name="cancel">ANNULER</button>
11 11
  {% endif %}
12
-