Sha256: 2a5708361d5580932832ae5c798bb27ec98e42d629cab0dccaf163b04a7217e4

Contents?: true

Size: 969 Bytes

Versions: 63

Compression:

Stored size: 969 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

63 entries across 63 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.1.0 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.167 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.166 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.165 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.164 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.163 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.162 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.161 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.160 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.159 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.158 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.157 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.156 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.155 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.153 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.152 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.151 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.149 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.148 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim