Kat
3 years ago
6 changed files with 84 additions and 52 deletions
@ -1,23 +1 @@ |
|||||||
<div class="cell govuk-body"> |
<%= render partial: "form/print/radio_question", locals: { question_key: question_key, question: question, index: index, f: f, outer_grid: outer_grid } %> |
||||||
<strong class="cell question_cell"> |
|
||||||
<%= question["header"].html_safe.present? ? question["header"].html_safe : "missing question header"%> |
|
||||||
</strong> |
|
||||||
</div> |
|
||||||
<div class="two-grid govuk-body"> |
|
||||||
<div> |
|
||||||
<% question["answer_options"].each do |index, answer_option| %> |
|
||||||
<% if index.to_i.even? %> |
|
||||||
<input type="checkbox"/> |
|
||||||
<label><%=answer_option %></label><br/> |
|
||||||
<% end %> |
|
||||||
<%end %> |
|
||||||
</div> |
|
||||||
<div> |
|
||||||
<% question["answer_options"].each do |index, answer_option| %> |
|
||||||
<% if !index.to_i.even? %> |
|
||||||
<input type="checkbox"/> |
|
||||||
<label><%=answer_option %></label><br/> |
|
||||||
<% end %> |
|
||||||
<%end %> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
@ -0,0 +1,10 @@ |
|||||||
|
<div class="cell govuk-body"> |
||||||
|
<strong class="cell"> |
||||||
|
<%= question["header"].html_safe.present? ? question["header"].html_safe : "missing question header"%><br/> |
||||||
|
</strong> |
||||||
|
</div> |
||||||
|
<div> |
||||||
|
<div class="cell_answer"> |
||||||
|
<br/> |
||||||
|
</div> |
||||||
|
</div> |
@ -1,11 +1 @@ |
|||||||
<div class="cell govuk-body"> |
<%= render partial: "form/print/radio_question", locals: { question_key: question_key, question: question, index: index, f: f, outer_grid: outer_grid } %> |
||||||
<strong class="cell question_cell"> |
|
||||||
<%= question["header"].html_safe.present? ? question["header"].html_safe : "missing question header"%> |
|
||||||
</strong> |
|
||||||
</div> |
|
||||||
<div class="govuk-body"> |
|
||||||
<% question["answer_options"].each do |index, answer_option| %> |
|
||||||
<input type="checkbox"/> |
|
||||||
<label><%=answer_option %></label> |
|
||||||
<%end %> |
|
||||||
</div> |
|
||||||
|
Loading…
Reference in new issue