74e3669d52aaf3c2f036bf24d3b6bc841461baa3
[auf_rh_dae.git] / project / dae / templates / dae / poste.html
1 {% extends 'base.html' %}
2
3 {% block extrahead %}
4 <script type="text/javascript"
5 src="{{ MEDIA_URL }}js/jquery-1.5.1.min.js"></script>
6 {% endblock %}
7
8 {% block title %}
9 Formulaire poste
10 {% endblock %}
11
12 {% block main %}
13 <form action="" method="post">
14 <table cellspacing="0">
15 {{ form.as_table }}
16 </table>
17 <input type="submit" name="submit" value="Sauvegarder" />
18 </form>
19 <script type="text/javascript">
20 $('#id_poste').change(function() {
21 window.location = '{% url poste %}/' + $(this).val();
22 });
23 </script>
24 {% endblock %}