Sha256: 510434c4d89d9c9e4c00297853b6980b037c2cc6631f2251889eab70d7223c62

Contents?: true

Size: 965 Bytes

Versions: 21

Compression:

Stored size: 965 Bytes

Contents

= f.simple_fields_for :person do |ff|
  = field_set_tag "Person" do
    = ff.input :title
    = ff.input :given_name
    = ff.input :family_name

  = field_set_tag "Address" do
    - ff.object.build_address
    = ff.simple_fields_for :address do |fa|
      = fa.input :name,
                  placeholder: "If different than above (optional)"
      = fa.input :organisation_name,
                 placeholder: "e.g. practice or hospital name (optional)"
      = fa.input :street_1
      = fa.input :street_2
      = fa.input :street_3
      = fa.input :town
      = fa.input :county
      = fa.input :postcode
      = fa.association :country
      = fa.input :telephone
      = fa.input :email

= f.input :description_id, collection: contact_descriptions
= f.input :other_description
= f.input :notes, as: :text, input_html: { rows: 2 }

// Disable `for` attribute, so it works when multiple contact form on the page
= f.input :default_cc, label_html: { for: nil }

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
renalware-core-2.0.5 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.4 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.3 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.2 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.1 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.rc13 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.rc11 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.rc10 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.rc9 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.rc8 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.rc7 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.rc6 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.rc5 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.rc4 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.rc3 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.rc1 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.beta12 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/letters/contacts/_person_form.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/letters/contacts/_person_form.html.slim