Sha256: c09fd15d7ee7c15bdb6ca3b564b2faaf442127efb43aed06a35d1e00a7806bf7

Contents?: true

Size: 586 Bytes

Versions: 24

Compression:

Stored size: 586 Bytes

Contents

<%= form_tag :action => 'bulk' do %>

  <%= block.call %>

  <% if bulk_actions.any? %>

    <div id="filters">
      <ul class="predefined_filters">
        <li>
          <select id="bulk_action" name="batch_action">
            <option value="" selected="selected">Bulk actions</option>
            <% bulk_actions.each do |name, action| %>
              <option value="<%= action %>"><%= Typus::I18n.t(name) %></option>
            <% end %>
          </select>
        </li>

        <li><%= submit_tag Typus::I18n.t("Apply") %></li>
      </ul>
    </div>

  <% end %>

<% end %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
typus-3.1.0.rc10 app/themes/default/views/helpers/admin/resources/_actions.html.erb
typus-3.1.0.rc9 app/themes/default/views/helpers/admin/resources/_actions.html.erb
typus-3.1.0.rc8 app/views/helpers/admin/resources/_actions.html.erb
typus-3.1.0.rc7 app/views/helpers/admin/resources/_actions.html.erb