Sha256: 0a8eaa39df5066eb41ebf2ba7380fb01f4059cf3720ca1a2f3000b746fdb7e88

Contents?: true

Size: 1.24 KB

Versions: 22

Compression:

Stored size: 1.24 KB

Contents

<%= form_tag url_for(:controller => "catalog", :action => "email"), :id => 'email_form', :class => "form-horizontal ajax_form", :method => :post do %>

  <div class="modal-body">
    <%= render :partial=>'/flash_msg' %>
    <div class="form-group">
      <label class="control-label col-sm-2" for="to">
        <%= t('blacklight.email.form.to') %>
      </label>
      <div class="col-sm-10">
        <%= text_field_tag :to, params[:to], class: 'form-control' %>
      </div>
    </div>

    <div class="form-group">
      <label class="control-label col-sm-2" for="message">
        <%= t('blacklight.email.form.message') %>
      </label>
      <div class="col-sm-10">
        <%= text_area_tag :message, params[:message], class: 'form-control' %>
      </div>
    </div>

    <% @documents.each do |doc| %>
      <%=hidden_field_tag "id[]", doc.get(:id)%>
    <% end %>
    <%- if params[:sort] -%>
      <%= hidden_field_tag "sort", params[:sort] %>
    <%- end -%>
    <%- if params[:per_page] -%>
      <%= hidden_field_tag "per_page", params[:per_page] %>
    <%- end -%>
  </div>
  <div class="modal-footer">
  <button type="submit" class="btn btn-primary"> <%= t('blacklight.sms.form.submit') %></button>
  </div>
<% end %>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
blacklight-5.5.4 app/views/catalog/_email_form.html.erb
blacklight-5.7.1 app/views/catalog/_email_form.html.erb
blacklight-5.7.0 app/views/catalog/_email_form.html.erb
blacklight-5.6.0 app/views/catalog/_email_form.html.erb
blacklight-5.5.3 app/views/catalog/_email_form.html.erb
blacklight-5.5.2 app/views/catalog/_email_form.html.erb
blacklight-5.5.1 app/views/catalog/_email_form.html.erb
blacklight-5.5.0 app/views/catalog/_email_form.html.erb
blacklight-5.4.0 app/views/catalog/_email_form.html.erb
blacklight-5.4.0.rc1 app/views/catalog/_email_form.html.erb
blacklight-5.3.0 app/views/catalog/_email_form.html.erb
blacklight-5.0.3 app/views/catalog/_email_form.html.erb
blacklight-5.1.1 app/views/catalog/_email_form.html.erb
blacklight-5.2.0 app/views/catalog/_email_form.html.erb
blacklight-5.1.0 app/views/catalog/_email_form.html.erb
blacklight-5.0.2 app/views/catalog/_email_form.html.erb
blacklight-5.0.1 app/views/catalog/_email_form.html.erb
blacklight-5.0.0 app/views/catalog/_email_form.html.erb
blacklight-5.0.0.pre4 app/views/catalog/_email_form.html.erb
blacklight-5.0.0.pre3 app/views/catalog/_email_form.html.erb