Sha256: ce057b625e54f6580365acf0243f75a8cf348d4ac3f04688cc0a1101c29aafbd

Contents?: true

Size: 1.18 KB

Versions: 13

Compression:

Stored size: 1.18 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="control-group">
      <label class="control-label" for="to">
        <%= t('blacklight.email.form.to') %>
      </label>
      <div class="controls">

        <%= text_field_tag :to, params[:to] %><br/>
      </div>
    </div>
    <div class="control-group">
      <label class="control-label" for="message">
        <%= t('blacklight.email.form.message') %>
      </label>
      <div class="controls">
      <%= text_area_tag :message, params[:message] %>
       </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

13 entries across 13 versions & 1 rubygems

Version Path
blacklight-4.9.0 app/views/catalog/_email_form.html.erb
blacklight-4.8.0 app/views/catalog/_email_form.html.erb
blacklight-4.7.0 app/views/catalog/_email_form.html.erb
blacklight-4.7.0.pre1 app/views/catalog/_email_form.html.erb
blacklight-4.6.3 app/views/catalog/_email_form.html.erb
blacklight-4.6.2 app/views/catalog/_email_form.html.erb
blacklight-4.6.1 app/views/catalog/_email_form.html.erb
blacklight-4.6.0 app/views/catalog/_email_form.html.erb
blacklight-4.5.0 app/views/catalog/_email_form.html.erb
blacklight-4.5.0.rc1 app/views/catalog/_email_form.html.erb
blacklight-4.4.2 app/views/catalog/_email_form.html.erb
blacklight-4.4.1 app/views/catalog/_email_form.html.erb
blacklight-4.4.0 app/views/catalog/_email_form.html.erb