<commit_before>.wide-screen
  .columns.large-12
    = render "header"

  .row
    = render partial: "renalware/shared/errors", locals: { model: @event }

    = simple_form_for @event,
      url: patient_events_path(@patient, @event),
      method: :post,
      wrapper: "horizontal_form" do |f|

      .row
        .large-12.columns
          fieldset
            legend New Event
            = f.input :date_time, as: :datetime_picker
            = f.input :event_type_id,
              collection: Renalware::Events::Type.all,
              label_method: :name, value_method: :id
            = f.input :description
            = f.input :notes, as: :text, input_html: { rows: 5 }

      = submit_tag "Save", class: "button"
      span= " or "
      = link_to "Cancel", patient_events_path(@patient)<commit_msg>Adjusted styling of events form layout.<commit_after>.wide-screen
  .columns.large-12
    = render "header"

  .row
    = render partial: "renalware/shared/errors", locals: { model: @event }

    = simple_form_for @event,
      url: patient_events_path(@patient, @event),
      method: :post,
      wrapper: "horizontal_form" do |f|

      .row
        .large-12.columns
          fieldset
            legend New Event
            .large-9.columns
              = f.input :date_time, as: :datetime_picker
              = f.input :event_type_id,
                collection: Renalware::Events::Type.all,
                label_method: :name, value_method: :id
              = f.input :description
              = f.input :notes, as: :text, input_html: { rows: 5 }

      .row
        .large-12.columns
          = submit_tag "Save", class: "button"
          span= " or "
          = link_to "Cancel", patient_events_path(@patient)
{'fraction_non_alphanumeric': 0.11839080459770115, 'fraction_numerical': 0.007471264367816092, 'mean_word_length': 1.9965576592082617, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3009993', 'n_tokens_mistral': 541, 'n_tokens_neox': 521, 'n_words': 123}