16 lines
No EOL
537 B
Text
16 lines
No EOL
537 B
Text
%h2
|
|
='Type de demande'
|
|
|
|
%br
|
|
= form_tag(url_for({controller: :demandes, action: :choice}), class: 'form-inline', method: 'POST') do
|
|
|
|
%div{style:'text-align:center'}
|
|
%select{name:'ref_formulaire', id: 'ref_formulaire', class:'form-control'}
|
|
-@evenement_vie.each do |ev|
|
|
%optgroup{:label => ev.nom}
|
|
-RefFormulaire.where(evenement_vie: ev.id, use_admi_facile: true).each do |form|
|
|
%option{value: form.id}
|
|
|
|
=form.nom
|
|
%br
|
|
=render partial: 'layouts/etape_suivante' |