<commit_before><ol class="breadcrumb">
  <li><a href="<%= root_path %>">Home</a></li>
  <li class="active">Generate an appointment report</li>
</ol>

<h1>Generate an appointment report</h1>

<%= form_for @appointment_report, method: 'GET', target: '_blank', 'data-disable-with': nil, layout: :basic do |f| %>
  <%=
    f.select(
      :where,
      options_for_select(@where_options),
      {},
      class: 't-where',
      data: { module: 'advanced-select' }
    )
  %>
  <%=
    f.text_field(
      :date_range,
      class: 't-date-range',
      label: 'Is in date range',
      data: {
	module: 'date-range-picker',
	config: {
	  autoUpdateInput: false,
	  locale: {
	    cancelLabel: 'Clear',
	    format: 'DD/MM/YYYY'
	  }
	}
      }
    )
  %>
  <% # Use manual html here so that data-disable-with isn't added. %>
  <input type="submit" name="commit" value="Download" class="t-download btn btn-primary">
<% end %><commit_msg>Remove clear button on report dropdown which is not needed<commit_after><ol class="breadcrumb">
  <li><a href="<%= root_path %>">Home</a></li>
  <li class="active">Generate an appointment report</li>
</ol>

<h1>Generate an appointment report</h1>

<%= form_for @appointment_report, method: 'GET', target: '_blank', 'data-disable-with': nil, layout: :basic do |f| %>
  <%=
    f.select(
      :where,
      options_for_select(@where_options),
      {},
      class: 't-where',
      data: { module: 'advanced-select', config: { allowClear: false } }
    )
  %>
  <%=
    f.text_field(
      :date_range,
      class: 't-date-range',
      label: 'Is in date range',
      data: {
	module: 'date-range-picker',
	config: {
	  autoUpdateInput: false,
	  locale: {
	    cancelLabel: 'Clear',
	    format: 'DD/MM/YYYY'
	  }
	}
      }
    )
  %>
  <% # Use manual html here so that data-disable-with isn't added. %>
  <input type="submit" name="commit" value="Download" class="t-download btn btn-primary">
<% end %>
{'fraction_non_alphanumeric': 0.17868177136972194, 'fraction_numerical': 0.0020597322348094747, 'mean_word_length': 3.056367432150313, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6190328', 'n_tokens_mistral': 710, 'n_tokens_neox': 675, 'n_words': 158}