Commit ddb22789 by Yvon

full questionnaire + migration file

parent 38c65e5e
...@@ -31,54 +31,301 @@ class SelfEvalPrestaQuiz ...@@ -31,54 +31,301 @@ class SelfEvalPrestaQuiz
/** /**
* @var int|null * @var int|null
* @ORM\Column(name="accessib_geophy", type="integer") * @ORM\Column(type="integer")
*/ */
public $accessib_geophy; public $accessib_geophy;
/** /**
* @var int|null * @var int|null
* @ORM\Column(name="accessib_tempor", type="integer") * @ORM\Column(type="integer")
*/ */
public $accessib_tempor; public $accessib_tempor;
/** /**
* @var int|null * @var int|null
* @ORM\Column(name="accessib_edupop", type="integer") * @ORM\Column(type="integer")
*/ */
public $accessib_edupop; public $accessib_edupop;
/** /**
* @var int|null * @var int|null
* @ORM\Column(name="accessib_divers", type="integer") * @ORM\Column(type="integer")
*/ */
public $accessib_divers; public $accessib_divers;
/** /**
* @var int|null * @var int|null
* @ORM\Column(name="accessib_vulner", type="integer") * @ORM\Column(type="integer")
*/ */
public $accessib_vulner; public $accessib_vulner;
/** /**
* @var string|null * @var string|null
* @ORM\Column(name="accessib_geophy_comment", type="text") * @ORM\Column(type="text")
*/ */
public $accessib_geophy_comment; public $accessib_geophy_comment;
/** /**
* @var string|null * @var string|null
* @ORM\Column(name="accessib_tempor_comment", type="text") * @ORM\Column(type="text")
*/ */
public $accessib_tempor_comment; public $accessib_tempor_comment;
/** /**
* @var string|null * @var string|null
* @ORM\Column(name="accessib_edupop_comment", type="text") * @ORM\Column(type="text")
*/ */
public $accessib_edupop_comment; public $accessib_edupop_comment;
/** /**
* @var string|null * @var string|null
* @ORM\Column(name="accessib_divers_comment", type="text") * @ORM\Column(type="text")
*/ */
public $accessib_divers_comment; public $accessib_divers_comment;
/** /**
* @var string|null * @var string|null
* @ORM\Column(name="accessib_vulner_comment", type="text") * @ORM\Column(type="text")
*/ */
public $accessib_vulner_comment; public $accessib_vulner_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $bienetre_format;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $bienetre_format_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $bienetre_impgou;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $bienetre_impgou_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $bienetre_bienet;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $bienetre_bienet_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $bienetre_recben;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $bienetre_recben_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $transpar_jusrem;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $transpar_jusrem_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $transpar_transp;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $transpar_transp_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $transpar_relpro;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $transpar_relpro_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $disagdur_labels;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $disagdur_labels_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $disagdur_condur;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $disagdur_condur_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $proagdur_labels;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $proagdur_labels_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $proagdur_valbio;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $proagdur_valbio_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $proagdur_ecorec;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $proagdur_ecorec_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $proagdur_pertes;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $proagdur_pertes_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $proagdur_climat;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $proagdur_climat_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $proagdur_geneti;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $proagdur_geneti_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $proagdur_prosol;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $proagdur_prosol_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $localite_probru;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $localite_probru_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $localite_protra;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $localite_protra_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $accessib_global;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $accessib_global_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $bienetre_global;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $bienetre_global_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $transpar_global;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $transpar_global_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $disagdur_global;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $disagdur_global_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $proagdur_global;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $proagdur_global_comment;
/**
* @var int|null
* @ORM\Column(type="integer")
*/
public $localite_global;
/**
* @var string|null
* @ORM\Column(type="text")
*/
public $localite_global_comment;
} }
...@@ -6,14 +6,97 @@ use App\Entity\Prestataire; ...@@ -6,14 +6,97 @@ use App\Entity\Prestataire;
use App\Entity\SelfEvalPrestaQuiz; use App\Entity\SelfEvalPrestaQuiz;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType; use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\OptionsResolver\OptionsResolver;
class DistributorSelfEvalPrestaQuizType extends SelfEvalPrestaQuizType class DistributorSelfEvalPrestaQuizType extends SelfEvalPrestaQuizType
{ {
public function __construct()
{
parent::__construct();
}
public function buildForm(FormBuilderInterface $builder, array $options) public function buildForm(FormBuilderInterface $builder, array $options)
{ {
parent::buildForm($builder, $options); parent::buildForm($builder, $options);
/* PARTIE 3 : TRANSPARENCE ET JUSTE REMUNERATION */
$this->opts['label'] = "Juste rémunération : les prix d'achats aux producteurs correspondent-ils au coût de la production (y compris la rémunération) ?";
$this->opts['choices'] = [
"pas connaissance du coût de production des produits achetés" => 0,
"ne correspondent pas toujours mais connaissance du coût de production" => 1,
"oui" => 2,
];
$builder->add('transpar_jusrem', ChoiceType::class, $this->opts);
$builder->add('transpar_jusrem_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = "Transparence : les consommateurs peuvent-ils accéder à des informations leur permettant de comprendre
comment les prix des produits sont construits ?";
$this->opts['choices'] = [
"aucun moyen d'avoir accès aux informations" => 0,
"au moins via l'équipe en discutant" => 1,
"affichages et en discutant" => 2,
];
$builder->add('transpar_transp', ChoiceType::class, $this->opts);
$builder->add('transpar_transp_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = "Relation au producteur : sur l'offre alimentaire globale, quels sont les circuits de commercialisation majoritaires ?";
$this->opts['choices'] = [
"plus de 2 intermédiaires connus ou intraçable" => 0,
"2 intermédiaires connus" => 1,
"0 ou 1 intermédiaire connu" => 2,
];
$builder->add('transpar_relpro', ChoiceType::class, $this->opts);
$builder->add('transpar_relpro_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = $this->labelEvalGlob;
$this->opts['choices'] = $this->stdChoices;
$builder->add('transpar_global', ChoiceType::class, $this->opts);
$builder->add('transpar_global_comment', TextareaType::class, $this->cmtOpts);
/* PARTIE 4 : PRATIQUES AGRICOLES DURABLES */
$this->opts['label'] = "Détenez-vous des labels ou des certifications (AB, Bio, Nature et Progrès, système de garantie
participatif ou équivalent minimum ?";
$this->opts['choices'] = [
"moins de 50 % des produits" => 0,
"entre 50 et 70% des produits" => 1,
"plus de 70 % des produits" => 2,
];
$builder->add('disagdur_labels', ChoiceType::class, $this->opts);
$builder->add('disagdur_labels_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = "Le lieu s'assure-t-il que ses produits alimentaires non labellisés mais conventionnables sont issus
de pratiques agricoles durables ?";
$this->opts['choices'] = [
"non" => 0,
"oui pas des échanges avec le producteur ou le revendeur qui connaît les pratiques agricoles du secteur" => 1,
"oui" => 2,
];
$builder->add('disagdur_condur', ChoiceType::class, $this->opts);
$builder->add('disagdur_condur_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = $this->labelEvalGlob;
$this->opts['choices'] = $this->stdChoices;
$builder->add('disagdur_global', ChoiceType::class, $this->opts);
$builder->add('disagdur_global_comment', TextareaType::class, $this->cmtOpts);
/* PARTIE 5 : LOCALITE DES PRODUITS */
$this->opts['label'] = "Quelle est la provenance de l'offre alimentaire globale en produits bruts ?";
$this->opts['choices'] = [
"0 à 49 % de produits locaux (moins de 250 km à la ronde)" => 0,
"50 à 79 % de produits locaux (moins de 250 km à la ronde)" => 1,
"plus de 80 % de produits locaux (moins de 250 km à la ronde)" => 2,
];
$builder->add('localite_probru', ChoiceType::class, $this->opts);
$builder->add('localite_probru_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = "Quelle est la provenance de l'offre alimentaire globale en produits transformés ?";
$this->opts['choices'] = [
"0 à 24 % de produits locaux (moins de 250 km à la ronde)" => 0,
"25 à 49 % de produits locaux (moins de 250 km à la ronde)" => 1,
"plus de 50 % de produits locaux (moins de 250 km à la ronde)" => 2,
];
$builder->add('localite_protra', ChoiceType::class, $this->opts);
$builder->add('localite_protra_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = $this->labelEvalGlob;
$this->opts['choices'] = $this->stdChoices;
$builder->add('localite_global', ChoiceType::class, $this->opts);
$builder->add('localite_global_comment', TextareaType::class, $this->cmtOpts);
} }
/** /**
......
...@@ -6,14 +6,56 @@ use App\Entity\Prestataire; ...@@ -6,14 +6,56 @@ use App\Entity\Prestataire;
use App\Entity\SelfEvalPrestaQuiz; use App\Entity\SelfEvalPrestaQuiz;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType; use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\OptionsResolver\OptionsResolver;
class ProducerSelfEvalPrestaQuizType extends SelfEvalPrestaQuizType class ProducerSelfEvalPrestaQuizType extends SelfEvalPrestaQuizType
{ {
public function __construct()
{
parent::__construct();
}
public function buildForm(FormBuilderInterface $builder, array $options) public function buildForm(FormBuilderInterface $builder, array $options)
{ {
parent::buildForm($builder, $options); parent::buildForm($builder, $options);
/* PARTIE 4 : PRATIQUES AGRICOLES DURABLES */
$this->opts['label'] = "Détenez-vous des labels ou des certifications (AB Bio, Nature et Progrès, système de garantie participatif ou équivalent minimum) ?";
$this->opts['choices'] = [
"non" => 0,
"oui" => 2,
];
$builder->add('proagdur_labels', ChoiceType::class, $this->opts);
$builder->add('proagdur_labels_comment', TextareaType::class, $this->cmtOpts);
//Jusqu'à la fin
$this->opts['choices'] = $this->stdChoices;
$this->opts['label'] = "Les pratiques agricoles permettent-elles de valoriser la biodiversité ?";
$builder->add('proagdur_valbio', ChoiceType::class, $this->opts);
$builder->add('proagdur_valbio_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = "Les pratiques agricoles permettent-elles l'économie ou le recyclage de l'énergie, de l'eau, de la matière organique, des nutriments ?";
$builder->add('proagdur_ecorec', ChoiceType::class, $this->opts);
$builder->add('proagdur_ecorec_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = "Les pratiques agricoles réduisent-elles les pertes agricoles (au champ ou post-récolte) ?";
$builder->add('proagdur_pertes', ChoiceType::class, $this->opts);
$builder->add('proagdur_pertes_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = "Les pratiques agricoles contribuent-elles à l'atténuation ou à l'adaptation au changement climatique ?";
$builder->add('proagdur_climat', ChoiceType::class, $this->opts);
$builder->add('proagdur_climat_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = "Les pratiques agricoles permettent-elles de renforcer l'autonomie de la ferme en ressources génétiques (végétales ou animales), en eau, en intrants, en énergie ?";
$builder->add('proagdur_geneti', ChoiceType::class, $this->opts);
$builder->add('proagdur_geneti_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = "Les pratiques agricoles permettent-elles la protection des sols ?";
$builder->add('proagdur_prosol', ChoiceType::class, $this->opts);
$builder->add('proagdur_prosol_comment', TextareaType::class, $this->cmtOpts);
$this->opts['label'] = $this->labelEvalGlob . " (vous pouvez cocher en vert si vous détenez un label ou certification)";
$this->opts['choices'] = $this->stdChoices;
$builder->add('proagdur_global', ChoiceType::class, $this->opts);
$builder->add('proagdur_global_comment', TextareaType::class, $this->cmtOpts);
} }
/** /**
......
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20240214104305 extends AbstractMigration
{
public function getDescription() : string
{
return '';
}
public function up(Schema $schema) : void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE TABLE selfevalprestaquiz (id CHAR(36) NOT NULL COMMENT \'(DC2Type:uuid)\', accessib_geophy INT NOT NULL, accessib_tempor INT NOT NULL, accessib_edupop INT NOT NULL, accessib_divers INT NOT NULL, accessib_vulner INT NOT NULL, accessib_geophy_comment LONGTEXT NOT NULL, accessib_tempor_comment LONGTEXT NOT NULL, accessib_edupop_comment LONGTEXT NOT NULL, accessib_divers_comment LONGTEXT NOT NULL, accessib_vulner_comment LONGTEXT NOT NULL, bienetre_format INT NOT NULL, bienetre_format_comment LONGTEXT NOT NULL, bienetre_impgou INT NOT NULL, bienetre_impgou_comment LONGTEXT NOT NULL, bienetre_bienet INT NOT NULL, bienetre_bienet_comment LONGTEXT NOT NULL, bienetre_recben INT NOT NULL, bienetre_recben_comment LONGTEXT NOT NULL, transpar_jusrem INT NOT NULL, transpar_jusrem_comment LONGTEXT NOT NULL, transpar_transp INT NOT NULL, transpar_transp_comment LONGTEXT NOT NULL, transpar_relpro INT NOT NULL, transpar_relpro_comment LONGTEXT NOT NULL, disagdur_labels INT NOT NULL, disagdur_labels_comment LONGTEXT NOT NULL, disagdur_condur INT NOT NULL, disagdur_condur_comment LONGTEXT NOT NULL, proagdur_labels INT NOT NULL, proagdur_labels_comment LONGTEXT NOT NULL, proagdur_valbio INT NOT NULL, proagdur_valbio_comment LONGTEXT NOT NULL, proagdur_ecorec INT NOT NULL, proagdur_ecorec_comment LONGTEXT NOT NULL, proagdur_pertes INT NOT NULL, proagdur_pertes_comment LONGTEXT NOT NULL, proagdur_climat INT NOT NULL, proagdur_climat_comment LONGTEXT NOT NULL, proagdur_geneti INT NOT NULL, proagdur_geneti_comment LONGTEXT NOT NULL, proagdur_prosol INT NOT NULL, proagdur_prosol_comment LONGTEXT NOT NULL, localite_probru INT NOT NULL, localite_probru_comment LONGTEXT NOT NULL, localite_protra INT NOT NULL, localite_protra_comment LONGTEXT NOT NULL, accessib_global INT NOT NULL, accessib_global_comment LONGTEXT NOT NULL, bienetre_global INT NOT NULL, bienetre_global_comment LONGTEXT NOT NULL, transpar_global INT NOT NULL, transpar_global_comment LONGTEXT NOT NULL, disagdur_global INT NOT NULL, disagdur_global_comment LONGTEXT NOT NULL, proagdur_global INT NOT NULL, proagdur_global_comment LONGTEXT NOT NULL, localite_global INT NOT NULL, localite_global_comment LONGTEXT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_general_ci` ENGINE = InnoDB');
$this->addSql('ALTER TABLE prestataire ADD selfevalprestaquiz_id CHAR(36) DEFAULT NULL COMMENT \'(DC2Type:uuid)\', ADD marketchannelfunction LONGTEXT DEFAULT NULL, CHANGE iban iban LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:personal_data)\'');
$this->addSql('ALTER TABLE prestataire ADD CONSTRAINT FK_60A26480C5DC59A8 FOREIGN KEY (selfevalprestaquiz_id) REFERENCES selfevalprestaquiz (id)');
$this->addSql('CREATE UNIQUE INDEX UNIQ_60A26480C5DC59A8 ON prestataire (selfevalprestaquiz_id)');
}
public function down(Schema $schema) : void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE prestataire DROP FOREIGN KEY FK_60A26480C5DC59A8');
$this->addSql('DROP TABLE selfevalprestaquiz');
$this->addSql('DROP INDEX UNIQ_60A26480C5DC59A8 ON prestataire');
$this->addSql('ALTER TABLE prestataire DROP selfevalprestaquiz_id, DROP marketchannelfunction, CHANGE iban iban LONGTEXT CHARACTER SET utf8 DEFAULT NULL COLLATE `utf8_general_ci` COMMENT \'(DC2Type:personal_data)\'');
}
}
...@@ -3,5 +3,94 @@ ...@@ -3,5 +3,94 @@
{% block content %} {% block content %}
{% form_theme form '@kohinos/tav/prestaquiz_form_theme.html.twig' %} {% form_theme form '@kohinos/tav/prestaquiz_form_theme.html.twig' %}
<h1>Inscription point de vente (2/2) : auto-évaluation</h1>
{{ form_start(form) }}
{% include '@kohinos/tav/selfeval_prestaquiz.html.twig' %} {% include '@kohinos/tav/selfeval_prestaquiz.html.twig' %}
<h2>Transparence et juste rémunération</h2>
<div class="container">
<div class="row">
{{ form_label(form.transpar_jusrem) }}
<div class="col">{{ form_widget(form.transpar_jusrem) }}</div>
<div class="col">{{ form_row(form.transpar_jusrem_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.transpar_transp) }}
<div class="col">{{ form_widget(form.transpar_transp) }}</div>
<div class="col">{{ form_row(form.transpar_transp_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.transpar_relpro) }}
<div class="col">{{ form_widget(form.transpar_relpro) }}</div>
<div class="col">{{ form_row(form.transpar_relpro_comment) }}</div>
</div>
</div>
<div class="container" style="background-color:blueviolet">
<div class="row">
{{ form_label(form.accessib_global) }}
<div class="col">{{ form_widget(form.transpar_global) }}</div>
<div class="col">{{ form_row(form.transpar_global_comment) }}</div>
</div>
</div>
<h2>Pratiques agricoles durables</h2>
<div class="container">
<div class="row">
{{ form_label(form.disagdur_labels) }}
<div class="col">{{ form_widget(form.disagdur_labels) }}</div>
<div class="col">{{ form_row(form.disagdur_labels_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.disagdur_condur) }}
<div class="col">{{ form_widget(form.disagdur_condur) }}</div>
<div class="col">{{ form_row(form.disagdur_condur_comment) }}</div>
</div>
</div>
<div class="container" style="background-color:blueviolet">
<div class="row">
{{ form_label(form.disagdur_global) }}
<div class="col">{{ form_widget(form.disagdur_global) }}</div>
<div class="col">{{ form_row(form.disagdur_global_comment) }}</div>
</div>
</div>
<h2>Localité des produits</h2>
<div class="container">
<div class="row">
{{ form_label(form.localite_probru) }}
<div class="col">{{ form_widget(form.localite_probru) }}</div>
<div class="col">{{ form_row(form.localite_probru_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.localite_protra) }}
<div class="col">{{ form_widget(form.localite_protra) }}</div>
<div class="col">{{ form_row(form.localite_protra_comment) }}</div>
</div>
</div>
<div class="container" style="background-color:blueviolet">
<div class="row">
{{ form_label(form.localite_global) }}
<div class="col">{{ form_widget(form.localite_global) }}</div>
<div class="col">{{ form_row(form.localite_global_comment) }}</div>
</div>
</div>
{{ form_end(form) }}
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -3,5 +3,73 @@ ...@@ -3,5 +3,73 @@
{% block content %} {% block content %}
{% form_theme form '@kohinos/tav/prestaquiz_form_theme.html.twig' %} {% form_theme form '@kohinos/tav/prestaquiz_form_theme.html.twig' %}
<h1>Inscription point de vente (2/2) : auto-évaluation</h1>
{{ form_start(form) }}
{% include '@kohinos/tav/selfeval_prestaquiz.html.twig' %} {% include '@kohinos/tav/selfeval_prestaquiz.html.twig' %}
<h2>Pratiques agricoles durables</h2>
<div class="container">
<div class="row">
{{ form_label(form.proagdur_labels) }}
<div class="col">{{ form_widget(form.proagdur_labels) }}</div>
<div class="col">{{ form_row(form.proagdur_labels_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.proagdur_valbio) }}
<div class="col">{{ form_widget(form.proagdur_valbio) }}</div>
<div class="col">{{ form_row(form.proagdur_valbio_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.proagdur_ecorec) }}
<div class="col">{{ form_widget(form.proagdur_ecorec) }}</div>
<div class="col">{{ form_row(form.proagdur_ecorec_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.proagdur_pertes) }}
<div class="col">{{ form_widget(form.proagdur_pertes) }}</div>
<div class="col">{{ form_row(form.proagdur_pertes_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.proagdur_climat) }}
<div class="col">{{ form_widget(form.proagdur_climat) }}</div>
<div class="col">{{ form_row(form.proagdur_climat_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.proagdur_geneti) }}
<div class="col">{{ form_widget(form.proagdur_geneti) }}</div>
<div class="col">{{ form_row(form.proagdur_geneti_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.proagdur_prosol) }}
<div class="col">{{ form_widget(form.proagdur_prosol) }}</div>
<div class="col">{{ form_row(form.proagdur_prosol_comment) }}</div>
</div>
</div>
<div class="container" style="background-color:blueviolet">
<div class="row">
{{ form_label(form.proagdur_global) }}
<div class="col">{{ form_widget(form.proagdur_global) }}</div>
<div class="col">{{ form_row(form.proagdur_global_comment) }}</div>
</div>
</div>
{{ form_end(form) }}
{% endblock %} {% endblock %}
\ No newline at end of file
<h1>Inscription point de vente (2/2) : auto-évaluation</h1>
{{ form_start(form) }}
<h2>Accessibilité et Inclusivité</h2> <h2>Accessibilité et Inclusivité</h2>
<div class="container"> <div class="container">
...@@ -39,5 +35,49 @@ ...@@ -39,5 +35,49 @@
<div class="col">{{ form_row(form.accessib_vulner_comment) }}</div> <div class="col">{{ form_row(form.accessib_vulner_comment) }}</div>
</div> </div>
</div> </div>
<div class="container" style="background-color:blueviolet">
<div class="row">
{{ form_label(form.accessib_global) }}
<div class="col">{{ form_widget(form.accessib_global) }}</div>
<div class="col">{{ form_row(form.accessib_global_comment) }}</div>
</div>
</div>
<h2>Bien-être au travail</h2>
<div class="container">
<div class="row">
{{ form_label(form.bienetre_format) }}
<div class="col">{{ form_widget(form.bienetre_format) }}</div>
<div class="col">{{ form_row(form.bienetre_format_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.bienetre_impgou) }}
<div class="col">{{ form_widget(form.bienetre_impgou) }}</div>
<div class="col">{{ form_row(form.bienetre_impgou_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.bienetre_bienet) }}
<div class="col">{{ form_widget(form.bienetre_bienet) }}</div>
<div class="col">{{ form_row(form.bienetre_bienet_comment) }}</div>
</div>
</div>
<div class="container">
<div class="row">
{{ form_label(form.bienetre_recben) }}
<div class="col">{{ form_widget(form.bienetre_recben) }}</div>
<div class="col">{{ form_row(form.bienetre_recben_comment) }}</div>
</div>
</div>
<div class="container" style="background-color:blueviolet">
<div class="row">
{{ form_label(form.bienetre_global) }}
<div class="col">{{ form_widget(form.bienetre_global) }}</div>
<div class="col">{{ form_row(form.bienetre_global_comment) }}</div>
</div>
</div>
{{ form_end(form) }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment