Project

General

Profile

« Previous | Next » 

Revision d9351bc8

Added by Benjamin Dauvergne over 12 years ago

personnes: remove custom js handler, adapt HTML structure to new js handler for clearing buttons

View differences:

calebasse/personnes/templates/personnes/acces.html
1 1
{% extends "calebasse/base.html" %}
2 2

  
3
{% block extrascripts %}
4
<script>
5
$(function() {
6
      $(this).prev('input').val('');
7
      $(this).closest('form').submit();
8
    });
9
});
10
</script>
11
{% endblock %}
12

  
13 3
{% block appbar %}
14 4
<h2>Gestion des personnes — Accès</h2>
15 5
<a href="gestion-personnes.html">Retourner à la gestion des personnes</a>
......
22 12
  <div>
23 13
    <h3>Rechercher dans les comptes</h3>
24 14
    <form>
25
      <label>Identifiant : <div class="text-input-wrapper"><input type="text"/ name='identifier' value="{{ request.GET.identifier }}"><span class="clear">&#x2716;</span></div></label>
15
      <label>Identifiant : 
16
        <div class="text-input-wrapper">
17
          <input type="text"/ name='identifier' value="{{ request.GET.identifier }}">
18
          <span class="clear">&#x2716;</span>
19
        </div>
20
      </label>
26 21
      <button>Rechercher</button>
27 22
    </form>
28 23
  </div>

Also available in: Unified diff