Sha256: 20643caac34446f2d7e84f13e9d00a86569f1610d12c3ecf5ebe594e3036cfb2
Contents?: true
Size: 632 Bytes
Versions: 12
Compression:
Stored size: 632 Bytes
Contents
<h3><%= humanize_class_name(tag_model).pluralize %></h3> <% partial.partial_tags.where(label_type: tag_model).each do |partial_tag| %> <ul class='inline-list' id="<%= dom_id(partial_tag) %>"> <li><%= partial_tag.label.name %></li> <li><%= ajax_delete 'delete', partial_tag_path(partial_tag), {}, dom_target(partial_tag) %></li> </ul> <% end %> <%= ajax_link "Add a new #{humanize_class_name(tag_model)}", new_partial_tag_path(partial_id: partial.id, tag_model: tag_model), {}, "#new_#{dom_id(partial, underscore_class_name(tag_model))}" %> <div id="new_<%= dom_id(partial, underscore_class_name(tag_model)) %>"></div>
Version data entries
12 entries across 12 versions & 1 rubygems