<%= render "govuk_publishing_components/components/title", {
  title: current_question.text,
} %>
<%= formatted_description %>

<% current_question.options.each do | group | %>
  <%= render "govuk_publishing_components/components/checkboxes", {
    name: "c[]",
    heading: group.label,
    no_hint_text: true,
    items: format_question_options(group.sub_options, criteria_keys)
  } %>
<% end %>

<%= render "govuk_publishing_components/components/title", {
  title: current_question.text,
  margin_bottom: 5
} %>

<%= formatted_description %>

<% if current_question.hint_text.present? %>
  <%= render "govuk_publishing_components/components/hint", {
    text: current_question.hint_text
  } %>
<% end %>

<% current_question.options.each do | group | %>
  <%= render "govuk_publishing_components/components/checkboxes", {
    name: "c[]",
    heading: group.label,
    no_hint_text: true,
    items: format_question_options(group.sub_options, criteria_keys)
  } %>
<% end %>

Support hint text for multiple grouped questions
Support hint text for multiple grouped questions

Previously the hint text was not shown for this question type, but is
required for the work/study question. This adds support for hint text
and adjusts the title margin to be consistent with other question types.
