Sha256: 10cfb6928d5542390208f6629ce13b887bf490361ede02b3c690d62ff9a21ffb

Contents?: true

Size: 1019 Bytes

Versions: 137

Compression:

Stored size: 1019 Bytes

Contents

= render "renalware/shared/errors", model: @primary_care_physician

.large-6.columns
  = simple_form_for @primary_care_physician, html: { autocomplete: "off" } do |f|
    = f.input :name, placeholder: "e.g. SMITH J"
    = f.input :telephone
    = f.input :code
    = f.input :practitioner_type, collection: ["GP", "Other"]
    = label_tag "patients_primary_care_physician[practice_ids]", "Practices"
    = select_tag "patients_primary_care_physician[practice_ids]",
                 practices_options_for_select(f.object),
                 { include_hidden: false, multiple: true }

    hr

    a#address-form-toggle href="#address-form" class="button tiny" Alternative address

    .row
      .large-12.columns
        fieldset#address-form style="display:none"
          = f.simple_fields_for @alternative_address do |a|
            = a.input :id, as: :hidden
            = render "renalware/addresses/form", a: a

    = f.button :submit
    span= " or "
    = link_to "cancel", patients_primary_care_physicians_path

Version data entries

137 entries across 137 versions & 1 rubygems

Version Path
renalware-core-2.0.147 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.146 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.145 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.144 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.143 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.142 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.141 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.140 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.139 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.138 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.137 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.136 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.135 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.134 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.133 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.132 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.131 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.130 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.129 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.128 app/views/renalware/patients/primary_care_physicians/_form.html.slim