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

Version Path
pulitzer-0.15.31 app/views/pulitzer/partial_tags/_show.html.erb
pulitzer-0.15.30 app/views/pulitzer/partial_tags/_show.html.erb
pulitzer-0.15.29 app/views/pulitzer/partial_tags/_show.html.erb
pulitzer-0.15.28 app/views/pulitzer/partial_tags/_show.html.erb
pulitzer-0.15.27 app/views/pulitzer/partial_tags/_show.html.erb
pulitzer-0.15.26 app/views/pulitzer/partial_tags/_show.html.erb
pulitzer-0.15.25 app/views/pulitzer/partial_tags/_show.html.erb
pulitzer-0.15.24 app/views/pulitzer/partial_tags/_show.html.erb
pulitzer-0.15.23 app/views/pulitzer/partial_tags/_show.html.erb
pulitzer-0.15.22 app/views/pulitzer/partial_tags/_show.html.erb
pulitzer-0.15.21 app/views/pulitzer/partial_tags/_show.html.erb
pulitzer-0.15.20 app/views/pulitzer/partial_tags/_show.html.erb