Projet

Général

Profil

0001-templates-mark-cancel-buttons-to-skip-HTML5-form-val.patch

Frédéric Péters, 17 mars 2019 12:29

Télécharger (2,47 ko)

Voir les différences:

Subject: [PATCH] templates: mark cancel buttons to skip HTML5 form validation
 (#31494)

 .../alpes-maritimes-2018/authentic2/login_password_form.html    | 2 +-
 .../grenoble-metropole-2019/authentic2/login_password_form.html | 2 +-
 .../grenoble-metropole/authentic2/login_password_form.html      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
templates/variants/alpes-maritimes-2018/authentic2/login_password_form.html
6 6
<div class="buttons">
7 7
  <button name="{{ submit_name }}">S'IDENTIFIER</button>
8 8
  {% if cancel %}
9
  <button class="cancel-button" name="cancel">ANNULER</button>
9
  <button class="cancel-button" name="cancel" formnovalidate>ANNULER</button>
10 10
  {% endif %}
11 11
</div>
12 12
</form>
templates/variants/grenoble-metropole-2019/authentic2/login_password_form.html
7 7
<div class="buttons">
8 8
  <button name="{{ submit_name }}">CONNECTEZ-VOUS</button>
9 9
  {% if cancel %}
10
  <button class="cancel-button" name="cancel">ANNULER</button>
10
  <button class="cancel-button" name="cancel" formnovalidate>ANNULER</button>
11 11
  {% endif %}
12 12
</div>
13 13
</form>
templates/variants/grenoble-metropole/authentic2/login_password_form.html
7 7
<div class="buttons">
8 8
  <button name="{{ submit_name }}">CONNECTEZ-VOUS</button>
9 9
  {% if cancel %}
10
  <button class="cancel-button" name="cancel">ANNULER</button>
10
  <button class="cancel-button" name="cancel" formnovalidate>ANNULER</button>
11 11
  {% endif %}
12 12
</div>
13 13
</form>
14
-