Sha256: a7870962dd1f583186d3175f4284800d513bd68de69087e5852e123cf2b20ed1

Contents?: true

Size: 725 Bytes

Versions: 114

Compression:

Stored size: 725 Bytes

Contents

= label_tag "person_auto_complete",
            "Pick person from directory",
            class: "right inline"
= text_field_tag "person_auto_complete", \
    f.object.person&.to_s,
    data: { \
      autocomplete_source: search_directory_people_path, \
      autocomplete_rel: "[name='letters_contact[person_id]']" \
    },
    autofocus: true,
    spellcheck: false,
    placeholder: t(".person_auto_complete.prompt")
= f.input :person_id, as: :hidden
= 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

114 entries across 114 versions & 1 rubygems

Version Path
renalware-core-2.0.4 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.3 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.2 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.1 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.0 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.0.pre.rc13 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.0.pre.rc11 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.0.pre.rc10 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.0.pre.rc9 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.0.pre.rc8 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.0.pre.rc7 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.0.pre.rc6 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.0.pre.rc5 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.0.pre.rc4 app/views/renalware/letters/contacts/_form.html.slim