2015-08-10 11:05:06 +02:00
|
|
|
%h2
|
|
|
|
='Type de demande'
|
|
|
|
|
|
|
|
%br
|
2015-08-17 17:08:13 +02:00
|
|
|
= form_tag(url_for({controller: :demandes, action: :update}), class: 'form-inline', method: 'POST') do
|
|
|
|
%div.center
|
2015-08-14 14:05:09 +02:00
|
|
|
%select{name:'formulaire', id: 'formulaire', class:'form-control'}
|
2015-08-17 17:08:13 +02:00
|
|
|
- @evenements_vie.each do |evenement_vie|
|
|
|
|
%optgroup{label: evenement_vie.nom}
|
|
|
|
- evenement_vie.formulaires.for_admi_facile.each do |formulaire|
|
|
|
|
%option{value: formulaire.id}
|
2015-08-10 11:05:06 +02:00
|
|
|
|
2015-08-17 17:08:13 +02:00
|
|
|
=formulaire.nom
|
2015-08-10 11:05:06 +02:00
|
|
|
%br
|
2015-08-17 17:08:13 +02:00
|
|
|
=render partial: 'layouts/etape_suivante'
|