Sha256: dbc55e592a35e3770cc090c715dce644dc40eb652f3406626b8cdf61bc3e3789

Contents?: true

Size: 418 Bytes

Versions: 8

Compression:

Stored size: 418 Bytes

Contents

<%= content_tag :li do |li| %>

  <% li[:class] << 'tag' %>
  <% li[:tabindex] = tag.id %>
  <% li[:as] = 'Post.Tags.Tag' %>
  <% li[:method] = :put %>
  <% li[:oid] = tag.id %>
  <% li[:href] = admin_post_tag_toggle_path(post, tag) %>

  <%= content_tag :input, nil, id: "label_#{tag.id}", type: 'checkbox', checked: post.tags.include?(tag) %>

  <%= content_tag :label, tag.name, for: "label_#{tag.id}" %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ecrire-0.31.2 lib/ecrire/app/views/admin/posts/tags/_tag.html.erb
ecrire-0.31.1 lib/ecrire/app/views/admin/posts/tags/_tag.html.erb
ecrire-0.31.0 lib/ecrire/app/views/admin/posts/tags/_tag.html.erb
ecrire-0.30.3 lib/ecrire/app/views/admin/posts/tags/_tag.html.erb
ecrire-0.30.2 lib/ecrire/app/views/admin/posts/tags/_tag.html.erb
ecrire-0.30.1 lib/ecrire/app/views/admin/posts/tags/_tag.html.erb
ecrire-0.30.0 lib/ecrire/app/views/admin/posts/tags/_tag.html.erb
ecrire-0.29.0 lib/ecrire/app/views/admin/posts/tags/_tag.html.erb