portrait = ImageField(widget=FileInput(attrs={'accept': "image/*;capture=camera"}), required=True,
help_text="Veuillez utiliser une photo au format d'identité.")
level = ChoiceField(label=_('Studying level'), choices=LEVEL_CHOICES)
- iej = ModelChoiceField(label='IEJ',
+ iej = ModelChoiceField(label="Niveau d'étude - IEJ",
queryset=IEJ.objects.all())
period = ModelChoiceField(label='Période',
queryset=Period.objects.filter(is_open=True,
<h1>{% if mode_corrector %}Pré-inscription des correcteurs - PRÉ-BARREAU -
CRFPA{% else %}{% trans "Pre-registration" %} -
- Formation CRFPA - Le pré-barreau{% endif %}</h1>
+ Formation de préparation au CRFPA - Le pré-barreau{% endif %}</h1>
{{ introduction|safe }}
{% with field=form|get_item:fieldname %}
<div class="info_champs">
<label for="id_{{ field.name }}">
- {{ field.label }} {% if field.field.required %}<span class="required">*</span>{% endif %}
+ {{ field.label }} {% if field.field.required and mode_corrector %}<span class="required">*</span>{% endif %}
</label>
<span class="helptext">
{{ field.help_text }}
{% with field=form|get_item:fieldname %}
<div class="info_champs">
<label for="id_{{ field.name }}">
- {{ field.label }} {% if field.field.required %}<span class="required">*</span>{% endif %}
+ {{ field.label }}
+ {% if field.field.required and mode_corrector %}<span class="required">*</span>{% endif %}
+ {% if field.name == 'iej' %}<span class="required">*</span>{% endif %}
</label>
<span class="helptext">
{{ field.help_text }}
{% endfor %}
</div>
</fieldset>
- <span class="error">* Champs obligatoires</span>
+
+ {% if mode_corrector %}
+ <span class="error">* Champs obligatoires</span>
+ {% else %}
+ <span class="error">* Conditions nécessaires pour présenter le CRFPA</span>
+ {% endif %}
<div class="submit-panel">
<div>