Sha256: 2dd35dddb2313cf3f7b30885390cee8feaa2a2161401e46001b8fb96c72ac7cb

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

= field_set_tag do
  legend #{title}

  = patient.simple_fields_for :document, patient.object.document do |patient_doc|

    = patient_doc.simple_fields_for document_attribute,
                                    patient.object.document.send(document_attribute) do |person_doc|
      = person_doc.input :name
      = person_doc.input :telephone

      b Address:
      = person_doc.simple_fields_for :address,
                                     patient.object.document.send(document_attribute).address do |address_doc|
        = render partial: "renalware/addresses/form", locals: { a: address_doc }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta4 app/views/renalware/patients/_person_form_fields.html.slim