Sha256: 960a045cdb0d31e8320ebb8e349cc830249d2ea810559958b4870a06a0b2b6ba

Contents?: true

Size: 447 Bytes

Versions: 10

Compression:

Stored size: 447 Bytes

Contents

<header>
  <%= render 'form', tag: @tag %>
</header>

<ol class='tags'>
  <% @tags.each do |tag| %>
    <%= content_tag :li do %>
      <div>
        <%= content_tag :h3, tag.name %>
        <%= content_tag :p, "#{tag.posts.count} posts" %>
      </div>
      <%= form_for tag, url: url('/admin/tags/:tag.id', tag: tag), method: :delete do |f| %>
        <%= f.button 'Delete', class: %w(button) %>
      <% end %>
    <% end %>
  <% end %>
</ol>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ecrire-0.29.0 lib/ecrire/app/views/admin/tags/index.html.erb
ecrire-0.28.3 lib/ecrire/app/views/admin/tags/index.html.erb
ecrire-0.28.2 lib/ecrire/app/views/admin/tags/index.html.erb
ecrire-0.28.1 lib/ecrire/app/views/admin/tags/index.html.erb
ecrire-0.28.0 lib/ecrire/app/views/admin/tags/index.html.erb
ecrire-0.27.0 lib/ecrire/app/views/admin/tags/index.html.erb
ecrire-0.26.3 lib/ecrire/app/views/admin/tags/index.html.erb
ecrire-0.26.2 lib/ecrire/app/views/admin/tags/index.html.erb
ecrire-0.26.1 lib/ecrire/app/views/admin/tags/index.html.erb
ecrire-0.26.0 lib/ecrire/app/views/admin/tags/index.html.erb