<commit_before>{% extends 'auth.html' %}

{% block titre %}DUlSine - Demande de DPS : Dimensionnement{% endblock %}

{% block corps %}
<div class="page-header">
  <h1>Nouveau dimensionnement</h1>
</div>

{% if form.errors %}
<div class="alert alert-error">
  <button type="button" class="close" data-dismiss="alert">&times;</button>
  <strong>Attention !</strong> certains éléments de la page sont mal remplis.
</div>
{% endif %}

<form action="" method="post" class="form-horizontal">
  {% csrf_token %}

  <h2>Information generales</h2>
  <div class="row">
    <div class="span6">
      <legend>Dimensionnement :</legend>
      <div class="control-group {% if form.nom.errors %}error{% endif %}">
        <label class="control-label" for="id_nom">Nom</label>
        <div class="controls">
          {{ form.nom }}
          {% for error in form.nom.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.debut.errors %}error{% endif %}">
        <label class="control-label" for="id_debut">Début</label>
        <div class="controls">
          {{ form.debut }}
          {% for error in form.debut.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.fin.errors %}error{% endif %}">
        <label class="control-label" for="id_fin">Fin</label>
        <div class="controls">
          {{ form.fin }}
          {% for error in form.fin.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
    </div>
  </div>

  <div class="row">
    <div class="span6">
      <legend>Public :</legend>
      <div class="control-group {% if form.effectifs_public.errors %}error{% endif %}">
        <label class="control-label" for="id_effectifs_public">Effectifs</label>
        <div class="controls">
          {{ form.effectifs_public }}
          {% for error in form.effectifs_public.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.age_public.errors %}error{% endif %}">
        <label class="control-label" for="id_age_public">Age</label>
        <div class="controls">
          {{ form.age_public }}
          {% for error in form.age_public.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.besoins_specifiques.errors %}error{% endif %}">
        <label class="control-label" for="id_besoins_specifiques">Besoins spécifiques</label>
        <div class="controls">
          {{ form.besoins_specifiques }}
          {% for error in form.besoins_specifiques.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
    </div>
    <div class="span6">
      <legend>Acteurs :</legend>
      <div class="control-group {% if form.effectifs_acteurs.errors %}error{% endif %}">
        <label class="control-label" for="id_effectifs_acteurs">Effectifs</label>
        <div class="controls">
          {{ form.effectifs_acteurs }}
          {% for error in form.effectifs_acteurs.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.age_acteurs.errors %}error{% endif %}">
        <label class="control-label" for="id_age_acteurs">Age</label>
        <div class="controls">
          {{ form.age_acteurs }}
          {% for error in form.age_acteurs.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.type_acteurs.errors %}error{% endif %}">
        <label class="control-label" for="id_type_acteurs">Type</label>
        <div class="controls">
          {{ form.type_acteurs }}
          {% for error in form.type_acteurs.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
    </div>
  </div>

  <div class="row">
    <div class="span12">
      <legend>Risques</legend>
      <div class="control-group {% if form.P2.errors %}error{% endif %}">
        <label class="control-label" for="id_P2">Comportement du public</label>
        <div class="controls">
          {{ form.P2 }}
          {% for error in form.P2.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.E1.errors %}error{% endif %}">
        <label class="control-label" for="id_E1">Environnement</label>
        <div class="controls">
          {{ form.E1 }}
          {% for error in form.E1.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.E2.errors %}error{% endif %}">
        <label class="control-label" for="id_E2">Temps d'arrivée des secours public</label>
        <div class="controls">
          {{ form.E2 }}
          {% for error in form.E2.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
    </div>
  </div>

  <h2>Secours present</h2>
  <div class="row">
    <div class="span6">
      <legend>Secours prives :</legend>
      <div class="control-group {% if form.medecin.errors %}error{% endif %}">
        <label class="control-label" for="id_medecin">Médecin</label>
        <div class="controls">
          {{ form.medecin }}
          {% for error in form.medecin.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.infirmier.errors %}error{% endif %}">
        <label class="control-label" for="id_infirmier">Infirmier</label>
        <div class="controls">
          {{ form.infirmier }}
          {% for error in form.infirmier.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}<commit_msg>DPS request: missing accents<commit_after>{% extends 'auth.html' %}

{% block titre %}DUlSine - Demande de DPS : Dimensionnement{% endblock %}

{% block corps %}
<div class="page-header">
  <h1>Nouveau dimensionnement</h1>
</div>

{% if form.errors %}
<div class="alert alert-error">
  <button type="button" class="close" data-dismiss="alert">&times;</button>
  <strong>Attention !</strong> certains éléments de la page sont mal remplis.
</div>
{% endif %}

<form action="" method="post" class="form-horizontal">
  {% csrf_token %}

  <h2>Information generales</h2>
  <div class="row">
    <div class="span6">
      <legend>Dimensionnement :</legend>
      <div class="control-group {% if form.nom.errors %}error{% endif %}">
        <label class="control-label" for="id_nom">Nom</label>
        <div class="controls">
          {{ form.nom }}
          {% for error in form.nom.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.debut.errors %}error{% endif %}">
        <label class="control-label" for="id_debut">Début</label>
        <div class="controls">
          {{ form.debut }}
          {% for error in form.debut.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.fin.errors %}error{% endif %}">
        <label class="control-label" for="id_fin">Fin</label>
        <div class="controls">
          {{ form.fin }}
          {% for error in form.fin.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
    </div>
  </div>

  <div class="row">
    <div class="span6">
      <legend>Public :</legend>
      <div class="control-group {% if form.effectifs_public.errors %}error{% endif %}">
        <label class="control-label" for="id_effectifs_public">Effectifs</label>
        <div class="controls">
          {{ form.effectifs_public }}
          {% for error in form.effectifs_public.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.age_public.errors %}error{% endif %}">
        <label class="control-label" for="id_age_public">Age</label>
        <div class="controls">
          {{ form.age_public }}
          {% for error in form.age_public.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.besoins_specifiques.errors %}error{% endif %}">
        <label class="control-label" for="id_besoins_specifiques">Besoins spécifiques</label>
        <div class="controls">
          {{ form.besoins_specifiques }}
          {% for error in form.besoins_specifiques.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
    </div>
    <div class="span6">
      <legend>Acteurs :</legend>
      <div class="control-group {% if form.effectifs_acteurs.errors %}error{% endif %}">
        <label class="control-label" for="id_effectifs_acteurs">Effectifs</label>
        <div class="controls">
          {{ form.effectifs_acteurs }}
          {% for error in form.effectifs_acteurs.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.age_acteurs.errors %}error{% endif %}">
        <label class="control-label" for="id_age_acteurs">Age</label>
        <div class="controls">
          {{ form.age_acteurs }}
          {% for error in form.age_acteurs.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.type_acteurs.errors %}error{% endif %}">
        <label class="control-label" for="id_type_acteurs">Type</label>
        <div class="controls">
          {{ form.type_acteurs }}
          {% for error in form.type_acteurs.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
    </div>
  </div>

  <div class="row">
    <div class="span12">
      <legend>Risques</legend>
      <div class="control-group {% if form.P2.errors %}error{% endif %}">
        <label class="control-label" for="id_P2">Comportement du public</label>
        <div class="controls">
          {{ form.P2 }}
          {% for error in form.P2.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.E1.errors %}error{% endif %}">
        <label class="control-label" for="id_E1">Environnement</label>
        <div class="controls">
          {{ form.E1 }}
          {% for error in form.E1.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.E2.errors %}error{% endif %}">
        <label class="control-label" for="id_E2">Temps d'arrivée des secours public</label>
        <div class="controls">
          {{ form.E2 }}
          {% for error in form.E2.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
    </div>
  </div>

  <h2>Secours présents</h2>
  <div class="row">
    <div class="span6">
      <legend>Secours privés :</legend>
      <div class="control-group {% if form.medecin.errors %}error{% endif %}">
        <label class="control-label" for="id_medecin">Médecin</label>
        <div class="controls">
          {{ form.medecin }}
          {% for error in form.medecin.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
        </div>
      </div>
      <div class="control-group {% if form.infirmier.errors %}error{% endif %}">
        <label class="control-label" for="id_infirmier">Infirmier</label>
        <div class="controls">
          {{ form.infirmier }}
          {% for error in form.infirmier.errors %}
          <span class="help-inline">{{ error }}</span>
          {% endfor %}
{'fraction_non_alphanumeric': 0.18210272873194222, 'fraction_numerical': 0.0038523274478330658, 'mean_word_length': 2.315859499733901, 'pattern_counts': {'":': 0, '<': 305, '<?xml version=': 0, '>': 305, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5622850', 'n_tokens_mistral': 4162, 'n_tokens_neox': 3847, 'n_words': 823}