Sha256: b77ee948daf301f5232e05f6a0bcc7b6d727bc7d78e80a34f5590a46bd8e3d50
Contents?: true
Size: 1.24 KB
Versions: 93
Compression:
Stored size: 1.24 KB
Contents
<% content_for :toolbar do %> <%= toolbar_button( icon: :plus, label: Alchemy.t('New Tag'), url: alchemy.new_admin_tag_path, title: Alchemy.t('New Tag'), hotkey: 'alt+n', dialog_options: { title: Alchemy.t('New Tag'), size: '310x180' }, if_permitted_to: [:create, Alchemy::Tag] ) %> <%= render 'alchemy/admin/partials/search_form' %> <% end %> <div id="archive_all" class="resources-table-wrapper"> <%= render 'alchemy/admin/resources/table_header' %> <% if @tags.any? %> <table class="list"> <thead> <tr> <th class="icon"></th> <th class="name"><%= sort_link(@query, :name) %></th> <th class="count"><%= Gutentag::Tag.human_attribute_name(:taggings_types) %></th> <th class="count"><%= sort_link(@query, :taggings_count) %></th> <th class="tools"></th> </tr> </thead> <tbody> <%= render partial: 'tag', collection: @tags %> </tbody> </table> <%= paginate @tags, theme: 'alchemy' %> <% else %> <%= render_message do %> <h2><%= Alchemy.t('No Tags found') %></h2> <% if search_filter_params[:q].blank? %> <p><%= Alchemy.t(:tags_get_created_if_used_the_first_time) %></p> <% end %> <% end %> <% end %> </div>
Version data entries
93 entries across 93 versions & 1 rubygems