Sha256: e569b7e1d8f9d2dc8932dd3adbc2b63762747aeaa096ee6fd6a31ed3a33bfa3d

Contents?: true

Size: 970 Bytes

Versions: 75

Compression:

Stored size: 970 Bytes

Contents

- renderable = f.object.public_send(attribute)

    td= fd.label :status, f.object.class.human_attribute_name(attribute)
    td= fd.input :status, as: :inline_radio_buttons,
        label: false, wrapper: "vertical_form"
    td= fd.input :confirmed_on_year, label: false, wrapper: "vertical_form",
          collection: Renalware::YearDatedConfirmation.valid_years.reverse,
          input_html: { class: "tiny-input" }


= f.simple_fields_for attribute, renderable do |fd|
  .row(class=attribute)
    .columns.small-12.medium-3.large-3
      = fd.label attribute, f.object.class.human_attribute_name(attribute)
    .columns.small-4.medium-4.large-3
      = fd.input :status, as: :inline_radio_buttons, wrapper: :bare
    .columns.small-6.medium-5.large-4.end
      = fd.input :confirmed_on_year,
                 label: "Diagnosed",
                 collection: Renalware::YearDatedConfirmation.valid_years.reverse,
                 input_html: { class: "tiny-input" }

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
renalware-core-2.0.101 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.100 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.99 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.98 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.97 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.96 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.95 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.94 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.93 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.92 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.91 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.90 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.89 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.88 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.87 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.86 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.85 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.84 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.83 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.82 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim