Sha256: 32329e407ff5031f1cf9a1990c15358237473e2c8dcdfad118af626556022ab9

Contents?: true

Size: 1.1 KB

Versions: 11

Compression:

Stored size: 1.1 KB

Contents

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

.row
  .large-6.columns
    = simple_form_for @primary_care_physician, html: { autocomplete: "off" } do |f|
      = f.input :given_name
      = f.input :family_name
      = f.input :email
      = 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

11 entries across 11 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc3 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.0.pre.rc1 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.0.pre.beta12 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/patients/primary_care_physicians/_form.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/patients/primary_care_physicians/_form.html.slim