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