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.81 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.80 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.79 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.78 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.77 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.76 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.75 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.74 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.73 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.72 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.71 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.70 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.69 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.68 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.67 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.64 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.63 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.62 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.61 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.60 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim