<commit_before><div class="panel panel-primary">
  {{#if canGenerateReport}}
    <div class="panel-body">
      {{#em-form model=this submitButton=false as |form|}}
        <div class="row">
          {{date-picker model=this property="startDate" label=(t 'incident.labels.startDate')
                        class="col-sm-4 test-start-date"}}
          {{date-picker model=this property="endDate" label=(t 'incident.labels.endDate')
                        class="col-sm-4 test-end-date"}}
        </div>
        <div class="row" data-test-selector="select-report-type">
          {{form.select
            class='form-input-group col-xs-6'
            content=reportTypes
            id='report-type'
            optionValuePath='value'
            optionLabelPath='name'
            property='reportType'
            label=(t 'incident.labels.reportType')
          }}
        </div>
      {{/em-form}}
    </div>
    <div class="panel-footer">
      <button class="btn btn-primary" {{action 'generateReport'}}>{{t 'incident.buttons.generateRep'}}</button>
    </div>
  {{/if}}
</div>
{{#if showReportResults}}
  <div class="panel panel-primary">
    <div class="panel-heading">
      <h3 class="panel-title">{{reportTitle}}</h3>
    </div>
    <div class="panel-body">
      <table class="table">
        <tr class="table-header">
          {{#each reportHeaders as |header|}}
            <th>{{header}}</th>
          {{/each}}
        </tr>
        {{#each reportRows as |row|}}
          <tr>
            {{#each row as |subrow|}}
              <td>{{subrow}}</td>
            {{/each}}
          </tr>
        {{/each}}
      </table>
    </div>
    <div class="panel-footer">
      <a href={{csvExport}} target="_blank" download="{{reportTitle}}.csv" class="btn btn-default">{{t 'incident.buttons.export'}}</a>
    </div>
  </div>
{{/if}}
<commit_msg>fixes button styling on export report button (HospitalRun/hospitalrun-frontend/#1527)<commit_after><div class="panel panel-primary">
  {{#if canGenerateReport}}
    <div class="panel-body">
      {{#em-form model=this submitButton=false as |form|}}
        <div class="row">
          {{date-picker model=this property="startDate" label=(t 'incident.labels.startDate')
                        class="col-sm-4 test-start-date"}}
          {{date-picker model=this property="endDate" label=(t 'incident.labels.endDate')
                        class="col-sm-4 test-end-date"}}
        </div>
        <div class="row" data-test-selector="select-report-type">
          {{form.select
            class='form-input-group col-xs-6'
            content=reportTypes
            id='report-type'
            optionValuePath='value'
            optionLabelPath='name'
            property='reportType'
            label=(t 'incident.labels.reportType')
          }}
        </div>
      {{/em-form}}
    </div>
    <div class="panel-footer">
      <button class="btn btn-primary" {{action 'generateReport'}}>{{t 'incident.buttons.generateRep'}}</button>
    </div>
  {{/if}}
</div>
{{#if showReportResults}}
  <div class="panel panel-primary">
    <div class="panel-heading">
      <h3 class="panel-title">{{reportTitle}}</h3>
    </div>
    <div class="panel-body">
      <table class="table">
        <tr class="table-header">
          {{#each reportHeaders as |header|}}
            <th>{{header}}</th>
          {{/each}}
        </tr>
        {{#each reportRows as |row|}}
          <tr>
            {{#each row as |subrow|}}
              <td>{{subrow}}</td>
            {{/each}}
          </tr>
        {{/each}}
      </table>
    </div>
    <div class="panel-footer">
      <a href={{csvExport}} target="_blank" download="{{reportTitle}}.csv" class="btn btn-primary">{{t 'incident.buttons.export'}}</a>
    </div>
  </div>
{{/if}}

{'fraction_non_alphanumeric': 0.18565400843881857, 'fraction_numerical': 0.003691983122362869, 'mean_word_length': 2.184718723761545, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6323572', 'n_tokens_mistral': 1178, 'n_tokens_neox': 1152, 'n_words': 219}