% if question.question_options.any? %> <% if process.open_phase?(:debate) && !answer.persisted? %> <%= form_for answer, url: legislation_process_question_answers_path(process, question, answer), remote: true , html: { class: "controls-stacked"} do |f| %> <% question.question_options.each do |question_option| %> <% end %> <%= f.submit t('legislation.questions.show.answer_question'), class: "button" %> <% end %> <% else %>
<% end %> <% end %>