Created
August 13, 2014 17:43
-
-
Save Henryvw/600f9d705d74bd7ad6cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= form_for @rehearsal do |f| | |
.field | |
= f.label :tally | |
= f.number_field :tally | |
%p | |
%b Questions: | |
- @rehearsal.exercise.e_questions.each do |e_question| | |
%tr | |
%td= e_question.question | |
%p | |
.field | |
= f.fields_for :e_answers do |e_builder| | |
= render "e_answer_fields", :f => e_builder | |
.actions | |
= f.submit 'Save' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment