%-
content_for :title, question.page_title.blank? ? question.title : question.page_title
content_for :meta_description, question.page_description
%>
<%= form_with model: @answer, url: url_for(controller: 'answers', action: 'create') do |form| %>
<%= question_index %>/<%= questions_size %>
<% question.attachments.with_text.each_slice(2).each_with_index do |answer_option, i| %>
<%= form.label :value, for: nil do %>
<%= answer_option.first.body.html_safe %>
<%= form.radio_button :value, i %>
<%- end -%>
<% end %>
<%= form.submit t('submit'), class: 'button__base' %>
<% end %>