<commit_before><%= render "govuk_publishing_components/components/input", {
  label: {
    text: t("coronavirus.timeline_entries.form.heading.label"),
    bold: true,
  },
  name: "timeline_entry[heading]",
  value: @timeline_entry.heading,
  id: "heading",
  error_message: error_items(@timeline_entry.errors.messages, :heading),
} %>

<%= render "govuk_publishing_components/components/checkboxes", {
  name: "timeline_entry[national_applicability][]",
  heading: "Entry applies to:",
  heading_size: "s",
  no_hint_text: true,
  items: [
    {
      label: "England",
      value: "england",<commit_msg>Show error messages on checkbox form<commit_after><%= render "govuk_publishing_components/components/input", {
  label: {
    text: t("coronavirus.timeline_entries.form.heading.label"),
    bold: true,
  },
  name: "timeline_entry[heading]",
  value: @timeline_entry.heading,
  id: "heading",
  error_message: error_items(@timeline_entry.errors.messages, :heading),
} %>

<%= render "govuk_publishing_components/components/checkboxes", {
  name: "timeline_entry[national_applicability][]",
  heading: "Entry applies to:",
  heading_size: "s",
  no_hint_text: true,
  error: error_items(@timeline_entry.errors.messages, :national_applicability),
  items: [
    {
      label: "England",
      value: "england",
{'fraction_non_alphanumeric': 0.1482889733840304, 'fraction_numerical': 0.0, 'mean_word_length': 5.178403755868545, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4038758', 'n_tokens_mistral': 450, 'n_tokens_neox': 434, 'n_words': 75}