Sha256: 14de8ed917dbd325fcede7a60ec625353f3f7479e3c5391058ff66003024f686

Contents?: true

Size: 1.14 KB

Versions: 5

Compression:

Stored size: 1.14 KB

Contents

<%- content_for(:stylesheets) do -%>
  <%= stylesheet_link_tag('alchemy_crm/styles') %>
<%- end -%>

<%- content_for :toolbar do -%>
  <div id="toolbar_buttons">
    <div class="button_with_label">
      <%= link_to_overlay_window(
        content_tag('span', '', :class => 'icon tag_add'),
        new_admin_tag_path,
        {
          :title => alchemy_crm_t('New Tag'),
          :size => '310x210'
        },
        :title => alchemy_crm_t('New Tag'),
        :class => 'icon_button'
      ) %><br />
      <label><%= alchemy_crm_t('New Tag') %></label>
    </div>
  </div>
  <%= render :partial => 'alchemy/admin/partials/search_form' %>
<%- end -%>

<%- if @tags.any? -%>
<table class="list" id="tag_list">
  <tr class="legend">
    <th class="icon"></th>
    <th class="name"><%= ActsAsTaggableOn::Tag.human_attribute_name(:name) %></th>
    <th class="size" style="width: 120px"><%= ActsAsTaggableOn::Tag.human_attribute_name(:contacts_count) %></th>
    <th class="tools"></th>
  </tr>
  <%= render :partial => 'tag', :collection => @tags %>
</table>
<%= render 'alchemy/admin/partials/pagination_links', :items => @tags, :scope => alchemy_crm %>
<%- end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alchemy_crm-2.0.5 app/views/alchemy_crm/admin/tags/index.html.erb
alchemy_crm-2.0.4.1 app/views/alchemy_crm/admin/tags/index.html.erb
alchemy_crm-2.1.0a app/views/alchemy_crm/admin/tags/index.html.erb
alchemy_crm-2.0.3 app/views/alchemy_crm/admin/tags/index.html.erb
alchemy_crm-2.0.2 app/views/alchemy_crm/admin/tags/index.html.erb