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.58 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.57 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.56 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.55 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.54 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.53 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.52 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.51 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.50 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.48 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.47 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.46 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.45 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.44 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.43 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.42 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.41 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.40 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.39 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.38 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim