Sha256: 8d2c140aaf2fb3ae314fad516f19bb9f1ff4b56ac95d4da22b5e81c7b4ea1186

Contents?: true

Size: 627 Bytes

Versions: 3

Compression:

Stored size: 627 Bytes

Contents

<h1>Email This</h1>
<%= form_tag url_for(:controller => "catalog", :action => "email"), :id => 'email_form', :method => :post do %>
  <%= label_tag(:to, "Email:") %><br/>
  <%= text_field_tag :to %><br/>
  <%= label_tag(:message, "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 "Send" %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacklight-3.4.2 app/views/catalog/_email_form.html.erb
blacklight-3.4.1 app/views/catalog/_email_form.html.erb
blacklight-3.4.0 app/views/catalog/_email_form.html.erb