Commit | Line | Data |
---|---|---|
d84c3a68 | 1 | {% extends 'admin/base_site.html' %} |
2 | {% load i18n adminmedia form_utils_tags %} | |
3 | ||
4 | {% block title %}RH - Recrutement{% endblock %} | |
32834000 | 5 | {% block sous_titre %}Envoyer courriel aux candidats{% endblock %} |
d84c3a68 | 6 | {% block extrahead %} |
7 | ||
8 | {{ form.media }} | |
9 | {% endblock %} | |
10 | {% block content %} | |
11 | <div id="content-main"> | |
12 | {% block object-tools %}{% endblock %} | |
13 | ||
d84c3a68 | 14 | <div class="module"> |
15 | <h2>Envoyer un courriel aux candidats</h2> | |
16 | ||
17 | <form action="" method="post"> | |
18 | <table> | |
19 | <tr> | |
20 | <td>Candidats sélectionnés</td> | |
32834000 NBV |
21 | <td> |
22 | <select name="candidats" multiple="True"> | |
d84c3a68 | 23 | {% for c in form.candidats %} |
24 | <option selected="selected" value="{{ c.nom }}_{{c.prenom}}_{{c.id}}">{{c}}</option> | |
25 | {% endfor %} | |
26 | </select> | |
27 | </td> | |
28 | </tr> | |
29 | <tr> | |
32834000 NBV |
30 | <td>Modèle de courriel</td> |
31 | <td> | |
32 | {{ form.template }} | |
33 | </td> | |
d84c3a68 | 34 | </tr> |
35 | <tr> | |
32834000 NBV |
36 | <td>{{ form.sujet.label }}</td> |
37 | <td>{{ form.sujet }}</td> | |
d84c3a68 | 38 | </tr> |
39 | <tr> | |
32834000 NBV |
40 | <td>{{ form.plain_text.label }}</td> |
41 | <td>{{ form.plain_text }} | |
42 | <p class="help">{{ form.plain_text.help_text }}</p> | |
43 | </td> | |
44 | ||
45 | </tr> | |
46 | <tr> | |
47 | <td>{{ form.html.label }}</td> | |
48 | <td>{{ form.html }} | |
49 | <p class="help">{{ form.html.help_text }}</p> | |
50 | </td> | |
d84c3a68 | 51 | </tr> |
d84c3a68 | 52 | </table> |
53 | <div class="submit-row"> | |
54 | <input type="submit" name="_save" class="default" value="Envoyer"> | |
55 | </div> | |
56 | </form> | |
57 | </div> | |
58 | ||
59 | ||
60 | </div> | |
61 | ||
62 | {% endblock %} |