Sha256: 1b51ed62158f40c3184edb21360c96505b7474cfbecbced12ef21a4428206bae
Contents?: true
Size: 852 Bytes
Versions: 54
Compression:
Stored size: 852 Bytes
Contents
<% fieldset_class ||= '' %> <% select_label_id ||= '' %> <%= form_tag main_app.collections_path, method: :put do %> <fieldset class="required <%= fieldset_class %>"> <%= hidden_field_tag 'collection[members]', 'add' %> <%= hidden_field_tag 'batch_document_ids[]', collectible.id %> <div class="form-group collection_id"> <div class="controls"> <%= select_tag :id, collection_options_for_select(collectible), prompt: 'Make a Selection', class: 'form-control', :'aria-labelledby' => select_label_id, required: 'required' %> </div> </div> </fieldset> <div class="form-actions with-side-padding with-footroom"> <%= submit_tag "Add to collection", class: 'btn btn-primary' %> <%= link_to 'Cancel', main_app.root_path, class: 'btn btn-default', data: { dismiss: 'modal' } %> </div> <% end %>
Version data entries
54 entries across 54 versions & 1 rubygems