Sha256: 5e6d7dfb17a426853d1f9d5fb7dfd9e9388a42fa164c2acfac56fca0661d8987
Contents?: true
Size: 530 Bytes
Versions: 1
Compression:
Stored size: 530 Bytes
Contents
<%= form_tag admin_post_tags_path(post), as: 'Post.Tags.Form' do |f| %> <%= text_field_tag 'tag[name]', nil, id: 'TagName', placeholder: 'Create a new tag', autocomplete: :off %> <p class='message'>A new tag will be created if no match can be found. The tag it finds will be toggled.</p> <% end %> <ul class='tags' as='Post.Tags.List'> <% if tags.any? %> <%= render partial: 'admin/posts/tags/tag', collection: tags, locals: { post: post } %> <% else %> <li class='empty'>No tag was found.</li> <% end %> </ul>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ecrire-0.29.0 | lib/ecrire/app/views/admin/posts/tags/_tags.html.erb |