Sha256: 2e7e50440990f8f51f827676058844f6a8dd0d10e29991eeab77c2c435a20005

Contents?: true

Size: 1.24 KB

Versions: 80

Compression:

Stored size: 1.24 KB

Contents

<%= form_tag url_for(:controller => controller_name, :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">
        <%= email_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.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

80 entries across 80 versions & 1 rubygems

Version Path
blacklight-6.25.0 app/views/catalog/_email_form.html.erb
blacklight-6.24.0 app/views/catalog/_email_form.html.erb
blacklight-6.23.0 app/views/catalog/_email_form.html.erb
blacklight-6.22.0 app/views/catalog/_email_form.html.erb
blacklight-6.21.0 app/views/catalog/_email_form.html.erb
blacklight-6.20.0 app/views/catalog/_email_form.html.erb
blacklight-6.19.2 app/views/catalog/_email_form.html.erb
blacklight-6.19.1 app/views/catalog/_email_form.html.erb
blacklight-6.19.0 app/views/catalog/_email_form.html.erb
blacklight-6.18.0 app/views/catalog/_email_form.html.erb
blacklight-6.17.0 app/views/catalog/_email_form.html.erb
blacklight-6.16.0 app/views/catalog/_email_form.html.erb
blacklight-6.15.0 app/views/catalog/_email_form.html.erb
blacklight-6.14.1 app/views/catalog/_email_form.html.erb
blacklight-6.14.0 app/views/catalog/_email_form.html.erb
blacklight-6.13.0 app/views/catalog/_email_form.html.erb
blacklight-6.12.0 app/views/catalog/_email_form.html.erb
blacklight-6.11.2 app/views/catalog/_email_form.html.erb
blacklight-6.11.1 app/views/catalog/_email_form.html.erb
blacklight-6.11.0 app/views/catalog/_email_form.html.erb