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.0.104 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.103 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim
renalware-core-2.0.102 app/views/renalware/shared/documents/_year_dated_diagnosis_input.html.slim