Sha256: 5918949bb264e26e4199890cab7ef9af5253a81f5a6a8359e01ca30642ecde81

Contents?: true

Size: 661 Bytes

Versions: 19

Compression:

Stored size: 661 Bytes

Contents

<%= render 'tab_admin_menu' %>

<table class='table table-striped'>
	<thead>
  	<tr>
	    <th><%= t 'activerecord.attributes.tags.name' %></th>
	    <th><%= t('actions') %></th>
	  </tr>
	</thead>

	<tbody>
		<% @tags.each do |tag| %>
		  <tr>
		    <td><%= link_to ("#{tag.name} (#{tag.taggings.count})"), blog_by_tag_path(tag.name) %></td>
		    <td><%= link_to t('edit'), edit_tag_path(tag), class: 'btn btn-xs btn-default' %><%= link_to( t('delete'), tag, method: :delete, data: { confirm: t('are_you_sure') }, class: 'btn btn-xs btn-danger') if tag.taggings.count == 0 %></td>
		  </tr>
		<% end %>
	</tbody>
</table>

<%= render 'shared/admin_sidebar' %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
tkh_content-0.10.7 app/views/tags/index.html.erb
tkh_content-0.10.6 app/views/tags/index.html.erb
tkh_content-0.10.5.1 app/views/tags/index.html.erb
tkh_content-0.10.5 app/views/tags/index.html.erb
tkh_content-0.10.4 app/views/tags/index.html.erb
tkh_content-0.10.3 app/views/tags/index.html.erb
tkh_content-0.10.2 app/views/tags/index.html.erb
tkh_content-0.10.1 app/views/tags/index.html.erb
tkh_content-0.10 app/views/tags/index.html.erb
tkh_content-0.9.20 app/views/tags/index.html.erb
tkh_content-0.9.19 app/views/tags/index.html.erb
tkh_content-0.9.18 app/views/tags/index.html.erb
tkh_content-0.9.17 app/views/tags/index.html.erb
tkh_content-0.9.16 app/views/tags/index.html.erb
tkh_content-0.9.15 app/views/tags/index.html.erb
tkh_content-0.9.14 app/views/tags/index.html.erb
tkh_content-0.9.13 app/views/tags/index.html.erb
tkh_content-0.9.12 app/views/tags/index.html.erb
tkh_content-0.9.11 app/views/tags/index.html.erb