{% extends 'base.html.twig' %} {% block title %}Edit Analyse {% endblock %} {% block body %}

Edit Analyse

{{ form_start(form) }}
{{ form_label(form.number_animal) }} {{ form_widget(form.number_animal, {'attr': {'class': 'form-control'}}) }} {{ form_errors(form.number_animal) }}
{{ form_label(form.starttime) }} {{ form_widget(form.starttime, {'attr': {'class': 'form-control'}}) }} {{ form_errors(form.starttime) }}
{{ form_label(form.Ag, 'Argent (Ag)') }}
i
{% if analyse.Ag >= 0.00 and analyse.Ag <= 2.00 %} {{ form_widget(form.Ag, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Ag, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Ag) }}
{{ form_label(form.Al, 'Aluminium (Al)') }}
i
{% if analyse.Al >= 0.00 and analyse.Al <= 250.00 %} {{ form_widget(form.Al, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Al, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Al) }}
{{ form_label(form.As, 'Arsenic (As)') }}
i
{% if analyse.As >= 0.00 and analyse.As <= 3.00 %} {{ form_widget(form.As, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.As, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.As) }}
{{ form_label(form.Au, 'Or (Au)') }}
i
{% if analyse.Au >= 0.00 and analyse.Au <= 2.00 %} {{ form_widget(form.Au, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Au, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Au) }}
{{ form_label(form.Ba, 'Baryum (Ba)') }}
i
{% if analyse.Ba >= 0.00 and analyse.Ba <= 5.00 %} {{ form_widget(form.Ba, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Ba, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Ba) }}
{{ form_label(form.Be, 'Beryllium (Be)') }}
i
{% if analyse.Be >= 0.00 and analyse.Be <= 1.00 %} {{ form_widget(form.Be, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Be, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Be) }}
{{ form_label(form.B, 'Bore (B)') }}
i
{% if analyse.B >= 0.00 and analyse.B <= 5.00 %} {{ form_widget(form.B, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.B, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.B) }}
{{ form_label(form.Ca, 'Calcium (Ca)') }}
i
{% if analyse.Ca >= 700.00 and analyse.Ca <= 3000.00 %} {{ form_widget(form.Ca, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Ca, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Ca) }}
{{ form_label(form.Cd, 'Cadmium (Cd)') }}
i
{% if analyse.Cd >= 0.00 and analyse.Cd <= 1.00 %} {{ form_widget(form.Cd, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Cd, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Cd) }}
{{ form_label(form.Co, 'Cobalt (Co)') }}
i
{% if analyse.Co >= 0.02 and analyse.Co <= 1.00 %} {{ form_widget(form.Co, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Co, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Co) }}
{{ form_label(form.Cr, 'Chrome (Cr)') }}
i
{% if analyse.Cr >= 0.10 and analyse.Cr <= 5.00 %} {{ form_widget(form.Cr, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Cr, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Cr) }}
{{ form_label(form.Cu, 'Cuivre (Cu)') }}
i
{% if analyse.Cu >= 8.00 and analyse.Cu <= 30.00 %} {{ form_widget(form.Cu, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Cu, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Cu) }}
{{ form_label(form.Fe, 'Fer (Fe)') }}
i
{% if analyse.Fe >= 25.00 and analyse.Fe <= 400.00 %} {{ form_widget(form.Fe, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Fe, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Fe) }}
{{ form_label(form.Hg, 'Mercure (Hg)') }}
i
{% if analyse.Hg >= 0.00 and analyse.Hg <= 0.40 %} {{ form_widget(form.Hg, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Hg, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Hg) }}
{{ form_label(form.K, 'Potassium (K)') }}
i
{% if analyse.K >= 100.00 and analyse.K <= 2500.00 %} {{ form_widget(form.K, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.K, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.K) }}
{{ form_label(form.Li, 'Lithium (Li)') }}
i
{% if analyse.Li >= 0.00 and analyse.Li <= 1.00 %} {{ form_widget(form.Li, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Li, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Li) }}
{{ form_label(form.Mg, 'Magnésium (Mg)') }}
i
{% if analyse.Mg >= 100.00 and analyse.Mg <= 450.00 %} {{ form_widget(form.Mg, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Mg, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Mg) }}
{{ form_label(form.Mn, 'Manganèse (Mn)') }}
i
{% if analyse.Mn >= 1.00 and analyse.Mn <= 15.00 %} {{ form_widget(form.Mn, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Mn, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Mn) }}
{{ form_label(form.Mo, 'Molybdène (Mo)') }}
i
{% if analyse.Mo >= 0.00 and analyse.Mo <= 3.00 %} {{ form_widget(form.Mo, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Mo, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Mo) }}
{{ form_label(form.Na, 'Sodium (Na)') }}
i
{% if analyse.Na >= 100.00 and analyse.Na <= 3500.00 %} {{ form_widget(form.Na, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Na, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Na) }}
{{ form_label(form.Rh, 'Rhodium (Rh)') }}
i
{{ form_widget(form.Rh, {'attr': {'class': 'form-control'}}) }} {{ form_errors(form.Rh) }}
{{ form_label(form.Rh2, 'Rhodium (Rh2)') }}
i
{{ form_widget(form.Rh2, {'attr': {'class': 'form-control'}}) }} {{ form_errors(form.Rh2) }}
{{ form_label(form.Ni, 'Nickel (Ni)') }}
i
{% if analyse.Ni >= 0.00 and analyse.Ni <= 5.00 %} {{ form_widget(form.Ni, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Ni, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Ni) }}
{{ form_label(form.P, 'Phosphore (P)') }}
i
{% if analyse.P >= 220.00 and analyse.P <= 500.00 %} {{ form_widget(form.P, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.P, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.P) }}
{{ form_label(form.Pb, 'Plomb (Pb)') }}
i
{% if analyse.Pb >= 0.00 and analyse.Pb <= 10.00 %} {{ form_widget(form.Pb, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Pb, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Pb) }}
{{ form_label(form.Se, 'Sélénium (Se)') }}
i
{% if analyse.Se >= 0.40 and analyse.Se <= 2.50 %} {{ form_widget(form.Se, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Se, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Se) }}
{{ form_label(form.Si, 'Silicium (Si)') }}
i
{% if analyse.Si >= 20.00 and analyse.Si <= 600.00 %} {{ form_widget(form.Si, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Si, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Si) }}
{{ form_label(form.Sn, 'Étain (Sn)') }}
i
{% if analyse.Sn >= 0.00 and analyse.Sn <= 5.00 %} {{ form_widget(form.Sn, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Sn, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Sn) }}
{{ form_label(form.Sr, 'Strontium (Sr)') }}
i
{% if analyse.Sr >= 0.00 and analyse.Sr <= 6.00 %} {{ form_widget(form.Sr, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Sr, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Sr) }}
{{ form_label(form.V, 'Vanadium (V)') }}
i
{% if analyse.V >= 0.00 and analyse.V <= 1.20 %} {{ form_widget(form.V, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.V, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.V) }}
{{ form_label(form.Zn, 'Zinc (Zn)') }}
i
{% if analyse.Zn >= 100.00 and analyse.Zn <= 300.00 %} {{ form_widget(form.Zn, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Zn, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Zn) }}
{{ form_label(form.S, 'Soufre (S)') }}
i
{% if analyse.S >= 30000.00 and analyse.S <= 50000.00 %} {{ form_widget(form.S, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.S, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.S) }}
{{ form_label(form.Sb, 'Antimoine (Sb)') }}
i
{% if analyse.Sb >= 0.00 and analyse.Sb <= 0.20 %} {{ form_widget(form.Sb, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Sb, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Sb) }}
{{ form_label(form.U, 'Uranium (U)') }}
i
{% if analyse.U >= 0.00 and analyse.U <= 0.25 %} {{ form_widget(form.U, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.U, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.U) }}
{{ form_label(form.Ge, 'Germanium (Ge)') }}
i
{% if analyse.Ge >= 0.00 and analyse.Ge <= 0.50 %} {{ form_widget(form.Ge, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Ge, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Ge) }}
{{ form_label(form.Ga, 'Gallium (Ga)') }}
i
{% if analyse.Ga >= 0.00 and analyse.Ga <= 0.50 %} {{ form_widget(form.Ga, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Ga, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Ga) }}
{{ form_label(form.La, 'Lanthanum (La)') }}
i
{% if analyse.La >= 0.00 and analyse.La <= 2.00 %} {{ form_widget(form.La, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.La, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.La) }}
{{ form_label(form.Ce, 'Céium (Ce)') }}
i
{% if analyse.Ce >= 0.00 and analyse.Ce <= 2.00 %} {{ form_widget(form.Ce, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Ce, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Ce) }}
{{ form_label(form.Bi, 'Bismuth (Bi)') }}
i
{% if analyse.Bi >= 0.00 and analyse.Bi <= 0.20 %} {{ form_widget(form.Bi, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Bi, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Bi) }}
{{ form_label(form.Tl, 'Thallium (Tl)') }}
i
{% if analyse.Tl >= 0.00 and analyse.Tl <= 0.20 %} {{ form_widget(form.Tl, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Tl, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Tl) }}
{{ form_label(form.Pt, 'Platine (Pt)') }}
i
{% if analyse.Pt >= 0.00 and analyse.Pt <= 2.00 %} {{ form_widget(form.Pt, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.Pt, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.Pt) }}
{{ form_label(form.I, 'Iode (I)') }}
i
{% if analyse.I >= 0.50 and analyse.I <= 2.00 %} {{ form_widget(form.I, {'attr': {'class': 'form-control text-success'}}) }} {% else %} {{ form_widget(form.I, {'attr': {'class': 'form-control text-danger'}}) }} {% endif %} {{ form_errors(form.I) }}
{{ include('analyse/_delete_form.html.twig') }} {{ form_end(form) }}
{% block javascripts %} {% endblock %} {% endblock %}