demarches-normaliennes/app/views/demandes/show.html.haml
2015-08-10 11:05:06 +02:00

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'