Sha256: 813b53ccbbdc10234b7d5ab9512f7a1dd23471821e207595ed1b3ee77bbd1659

Contents?: true

Size: 640 Bytes

Versions: 3

Compression:

Stored size: 640 Bytes

Contents

<%= f.input key,
            as: :controlled_vocabulary,
            placeholder: 'Search for a location',
            input_html: {
              class: 'form-control',
              data: { 'autocomplete-url' => "/authorities/search/geonames",
                      'autocomplete' => key }
            },
            ### Required for the ControlledVocabulary javascript:
            wrapper_html: { data: { 'autocomplete-url' => "/authorities/search/geonames",
                                    'field-name' => key }},
            required: f.object.required?(key) %>

<%= javascript_include_tag 'newspaper_works/autocomplete_fix.js' %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newspaper_works-1.0.1 app/views/records/edit_fields/_place_of_publication.html.erb
newspaper_works-1.0.0 app/views/records/edit_fields/_place_of_publication.html.erb
newspaper_works-0.1.0 app/views/records/edit_fields/_place_of_publication.html.erb