Sha256: 4e89db5addda77ab82ff6b7388c0fc03f4bcb72148660715ba6aabddb3bcb80b
Contents?: true
Size: 582 Bytes
Versions: 94
Compression:
Stored size: 582 Bytes
Contents
<h3><%= humanize_class_name(tag_model).pluralize %></h3> <% version.post_tags.where(label_type: tag_model).each do |post_tag| %> <ul class='inline-list' id="<%= dom_id(post_tag) %>"> <li><%= post_tag.label.name %></li> <li><%= ajax_delete 'delete', post_tag_path(post_tag), {}, dom_target(post_tag) %></li> </ul> <% end %> <%= ajax_link "Add a new #{humanize_class_name(tag_model)}", new_post_tag_path(version_id: version.id, tag_model: tag_model), {}, "#new_tag_#{underscore_class_name(tag_model)}" %> <div id="new_tag_<%= underscore_class_name(tag_model) %>"></div>
Version data entries
94 entries across 94 versions & 1 rubygems