Sha256: afc27aec0be7a1bfa1d2c35a600f8114bc7ae03ece9e9f8e59b6c115f6e94154

Contents?: true

Size: 728 Bytes

Versions: 9

Compression:

Stored size: 728 Bytes

Contents

<h1><%= t('blacklight.email.form.title') %></h1>
<%= form_tag url_for(:controller => "catalog", :action => "email"), :id => 'email_form', :method => :post do %>
  <%= label_tag(:to, t('blacklight.email.form.to')) %><br/>
  <%= text_field_tag :to %><br/>
  <%= label_tag(:message, t('blacklight.email.form.message')) %><br/>
  <%= text_area_tag :message %><br/>
  <% @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 -%>
  <%= submit_tag t('blacklight.email.form.submit') %>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
blacklight-3.8.2 app/views/catalog/_email_form.html.erb
blacklight-3.8.1 app/views/catalog/_email_form.html.erb
blacklight-3.8.0 app/views/catalog/_email_form.html.erb
blacklight-3.7.2 app/views/catalog/_email_form.html.erb
blacklight-3.7.1 app/views/catalog/_email_form.html.erb
blacklight-3.7.0 app/views/catalog/_email_form.html.erb
blacklight-3.6.1.1 app/views/catalog/_email_form.html.erb
blacklight-3.6.0 app/views/catalog/_email_form.html.erb
blacklight-3.5.0 app/views/catalog/_email_form.html.erb