<commit_before>= r.hidden_field :patient_id

= r.hidden_field :type

.row
  .large-12.columns
    .large-12.columns
      .section-underliner
        Treatment Type:

      .large-12.columns
        = r.label :treatment, 'PD Regime Treatment'
        = r.select :treatment, capd_apd_scope(r.object.type), { :prompt => "Please select from options" }, :class => "pd-regime-treament-select"

    .large-12.columns
      .section-underliner
        Dates:

      .large-12.columns
        = r.label :start_date, "Regime Start Date"
        = r.date_select(:start_date, { start_year: (1.year.ago).year, end_year: (1.year.since).year , order: [:day, :month, :year] }, class: "datetime")

        = r.label :end_date, "Regime End Date"
        = r.date_select(:end_date, { include_blank: true, start_year: (1.years.ago).year, end_year: (1.year.since).year, order: [:day, :month, :year] }, class: "datetime")

    .large-12.columns
      = render partial: 'pd_regime_bags', locals: {r: r}

    .large-12.columns
      .section-underliner
        Other Info:

      .large-12.columns
        %ul.no-bullet
          %li
            = r.check_box :add_hd
            = r.label :add_hd, "On additional HD"

    - if r.object.type == 'ApdRegime'

      = render partial: 'pd_regimes/apd_fields', locals: { r: r }

    - else
<commit_msg>Adjusted styling of dates and renamed a sub-title within pd-regime forms.<commit_after>= r.hidden_field :patient_id

= r.hidden_field :type

.row
  .large-12.columns
    .large-12.columns
      .section-underliner
        Treatment Type:

      .large-12.columns
        = r.label :treatment, 'PD Regime Treatment'
        = r.select :treatment, capd_apd_scope(r.object.type), { :prompt => "Please select from options" }, :class => "pd-regime-treament-select"

    .large-12.columns
      .section-underliner
        Dates:

      .large-6.columns
        = r.label :start_date, "Regime Start Date"
        = r.date_select(:start_date, { start_year: (1.year.ago).year, end_year: (1.year.since).year , order: [:day, :month, :year] }, class: "datetime")
      .large-6.columns
        = r.label :end_date, "Regime End Date"
        = r.date_select(:end_date, { include_blank: true, start_year: (1.years.ago).year, end_year: (1.year.since).year, order: [:day, :month, :year] }, class: "datetime")

    .large-12.columns
      = render partial: 'pd_regime_bags', locals: {r: r}

    .large-12.columns
      .section-underliner
        On HD?:

      .large-12.columns
        %ul.no-bullet
          %li
            = r.check_box :add_hd
            = r.label :add_hd, "On additional HD"

    - if r.object.type == 'ApdRegime'

      = render partial: 'pd_regimes/apd_fields', locals: { r: r }

    - else

{'fraction_non_alphanumeric': 0.14631463146314633, 'fraction_numerical': 0.014668133480014669, 'mean_word_length': 2.4314465408805033, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1195250', 'n_tokens_mistral': 998, 'n_tokens_neox': 938, 'n_words': 203}