|
|
|
@ -7,14 +7,14 @@ |
|
|
|
|
|
|
|
|
|
|
|
<% row.value do %> |
|
|
|
<% row.value do %> |
|
|
|
<%= simple_format( |
|
|
|
<%= simple_format( |
|
|
|
get_answer_label(question, @log), |
|
|
|
get_answer_label(question, log), |
|
|
|
wrapper_tag: "span", |
|
|
|
wrapper_tag: "span", |
|
|
|
class: "govuk-!-margin-right-4", |
|
|
|
class: "govuk-!-margin-right-4", |
|
|
|
) %> |
|
|
|
) %> |
|
|
|
|
|
|
|
|
|
|
|
<% extra_value = question.get_extra_check_answer_value(@log) %> |
|
|
|
<% extra_value = question.get_extra_check_answer_value(log) %> |
|
|
|
|
|
|
|
|
|
|
|
<% if extra_value && question.answer_label(@log, current_user).present? %> |
|
|
|
<% if extra_value && question.answer_label(log, current_user).present? %> |
|
|
|
<%= simple_format( |
|
|
|
<%= simple_format( |
|
|
|
extra_value, |
|
|
|
extra_value, |
|
|
|
wrapper_tag: "span", |
|
|
|
wrapper_tag: "span", |
|
|
|
@ -22,14 +22,14 @@ |
|
|
|
) %> |
|
|
|
) %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
|
|
<% question.get_inferred_answers(@log).each do |inferred_answer| %> |
|
|
|
<% question.get_inferred_answers(log).each do |inferred_answer| %> |
|
|
|
<span class="govuk-!-font-weight-regular app-!-colour-muted"><%= inferred_answer %></span> |
|
|
|
<span class="govuk-!-font-weight-regular app-!-colour-muted"><%= inferred_answer %></span> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
|
|
<% row.action( |
|
|
|
<% row.action( |
|
|
|
text: question.action_text(@log), |
|
|
|
text: question.action_text(log), |
|
|
|
href: duplicate_logs_action_href(@log, question.page.id, @original_log_id), |
|
|
|
href: duplicate_logs_action_href(log, question.page.id, @original_log_id), |
|
|
|
visually_hidden_text: question.check_answer_label.to_s.downcase, |
|
|
|
visually_hidden_text: question.check_answer_label.to_s.downcase, |
|
|
|
) %> |
|
|
|
) %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
|