Sha256: f807b8660eaded285caf724524835886ab5d37bc08a442d1923eeaf2a6bd3902
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 KB
Contents
<%= button_tag t(:'spotlight.saved_search.label'), class: 'btn btn-default', data: {toggle:"modal", target:"#save-modal"} %> <div class="modal fade" id="save-modal" tabindex="-1" role="dialog" aria-labelledby="save-modal-label" aria-hidden="true"> <div class="modal-dialog"> <%= bootstrap_form_for [spotlight, Spotlight::Exhibit.default, Spotlight::Search.new] do |f| %> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title" id="save-modal-label"><%= t(:'spotlight.saved_search.label') %></h4> </div> <div class="modal-body"> <%=f.text_field :title, label: t(:'spotlight.saved_search.title') %> <%= render_hash_as_hidden_fields(params_for_search().except(:qt, :page, :utf8)) %> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal"><%= t :cancel %></button> <%= f.submit nil %> </div> </div> <% end %> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-0.0.2 | app/views/catalog/_save_search.html.erb |
blacklight-spotlight-0.0.1 | app/views/catalog/_save_search.html.erb |