Sha256: 93efec413f38e645b1a21c79de67987fb9a0eda38a9655370764223689f4a7db

Contents?: true

Size: 1.39 KB

Versions: 19

Compression:

Stored size: 1.39 KB

Contents

<div id="content_detail" class="ui-corner-all">
  <h1 class="title"><%= t('page.listing', :model => t('activerecord.models.tag')) -%></h1>
<div id="content_list">

<%= form_for :tags, :url => tags_path, :html => {:method => 'get'} do -%>
  <p>
    <%= t('page.search_term') -%>: <%= search_field_tag 'query', h(@query), {:id => 'search_form_top', :class => 'search_form', :placeholder => t('page.search_term')} -%>
    <%= submit_tag t('page.search') -%>
  </p>
<%- end -%>

<p>
  <%= t('page.sort_by') -%>:
  <%= link_to t('activerecord.attributes.tag.name'), tags_path(:order => 'name') -%>
  <%= link_to t('activerecord.attributes.tag.taggings_count'), tags_path(:sort_by => 'taggings_count') -%>
  <%= link_to t('page.created_at'), tags_path(:sort_by => 'created_at') -%>
</p>

<table class="index">
  <tr>
    <th><%= t('activerecord.attributes.tag.name') -%></th>
    <th><%= t('activerecord.attributes.tag.taggings_count') -%></th>
    <th><%= t('page.created_at') -%></th>
  </tr>
<%- @tags.each do |tag| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%= link_to tag.name, tag_path(tag.name) -%>
    </td>
    <!--
    <td>
      <%= link_to_wikipedia(tag.name) -%>
    </td>
    -->
    <td><%= tag.taggings.size -%></td>
    <td><%= l(tag.created_at) -%></td>
  </tr>
<%- end -%>
</table>

<%= will_paginate(@tags) -%>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
  </ul>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
enju_bookmark-0.0.21 app/views/tags/index.html.erb
enju_bookmark-0.0.20 app/views/tags/index.html.erb
enju_bookmark-0.0.19 app/views/tags/index.html.erb
enju_bookmark-0.0.18 app/views/tags/index.html.erb
enju_bookmark-0.0.17 app/views/tags/index.html.erb
enju_bookmark-0.0.16 app/views/tags/index.html.erb
enju_bookmark-0.0.15 app/views/tags/index.html.erb
enju_bookmark-0.0.14 app/views/tags/index.html.erb
enju_bookmark-0.0.13 app/views/tags/index.html.erb
enju_bookmark-0.0.12 app/views/tags/index.html.erb
enju_bookmark-0.0.11 app/views/tags/index.html.erb
enju_bookmark-0.0.10 app/views/tags/index.html.erb
enju_bookmark-0.0.9 app/views/tags/index.html.erb
enju_bookmark-0.0.8 app/views/tags/index.html.erb
enju_bookmark-0.0.7 app/views/tags/index.html.erb
enju_bookmark-0.0.6 app/views/tags/index.html.erb
enju_bookmark-0.0.5 app/views/tags/index.html.erb
enju_bookmark-0.0.4 app/views/tags/index.html.erb
enju_bookmark-0.0.3 app/views/tags/index.html.erb