38 lines
1.0 KiB
HTML
38 lines
1.0 KiB
HTML
{% extends "welco/base.html" %}
|
|
{% load i18n static %}
|
|
|
|
{% block content %}
|
|
|
|
<form method="POST">
|
|
{% csrf_token %}
|
|
<table class="avis">
|
|
<thead>
|
|
<tr>
|
|
<td></td>
|
|
<th>Pour information</th>
|
|
<th>Pour avis facultatif</th>
|
|
<th>Pour avis requis</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for role in roles %}
|
|
<tr>
|
|
<th>{{role.text}}</th>
|
|
<td><input name="info" value="{{role.slug}}" type="checkbox"
|
|
{% if role.slug in checked_info %}checked="checked"{% endif %}/></td>
|
|
<td><input name="avis" value="{{role.slug}}" type="checkbox"
|
|
{% if role.slug in checked_avis %}checked="checked"{% endif %}/></td>
|
|
<td><input name="mandatory_avis" value="{{role.slug}}" type="checkbox"
|
|
{% if role.slug in checked_mandatory_avis %}checked="checked"{% endif %}/></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<div class="buttons">
|
|
<button>{% trans 'Save' %}</button>
|
|
<button class="cancel">{% trans 'Cancel' %}</button>
|
|
</div>
|
|
</form>
|
|
|
|
{% endblock %}
|