Project

General

Profile

« Previous | Next » 

Revision e36e0819

Added by Mikaël Ates about 13 years ago

validation : feasible in the services of the appointment only, double only at the CMPP (#2030).

View differences:

calebasse/agenda/templates/agenda/index.html
Non pointé.
{% endif %}
</span>
{% if not appointment.validation.0.validation_locked %}
{% if not appointment.validation.0.validation_locked and appointment.validation.3 %}
<form method="post" class="inline-form">
{% csrf_token %}
<input type="hidden" value="{{appointment.validation.0.id}}" name="acte-id">
<select data-previous="{{ last_status.state_name }}" name="act_state">
{% for state_name, display_state_name in validation_states.items %}
{% for state_name, display_state_name in appointment.validation.3.items %}
<option value="{{ state_name }}" {% if state_name == appointment.validation.1.state_name %}selected{% endif %}>{{ display_state_name }}</option>
{% endfor %}
</select>

Also available in: Unified diff