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