22 lines
415 B
Plaintext
22 lines
415 B
Plaintext
|
|
=form_for @survey_set do |f|
|
|
=f.hidden_field :survey_type_id
|
|
|
|
|
|
|
|
%h1=@survey_set.survey_type.name
|
|
=simple_format @survey_set.survey_type.description
|
|
|
|
= f.fields_for(:question_sets) do |f|
|
|
=f.hidden_field :survey_item_id
|
|
|
|
=render :partial => "survey_sets/question_set", :locals => {:f => f, :item => f.object.survey_item}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%p=f.submit "Envoyer ma réponse" |