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.113 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.112 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.111 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.110 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.109 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.108 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.106 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.105 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.104 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.103 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.102 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.101 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.100 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.99 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.98 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.97 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.96 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.95 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.94 app/views/renalware/letters/contacts/_form.html.slim
renalware-core-2.0.93 app/views/renalware/letters/contacts/_form.html.slim