Sha256: d14f8e0a026cd6c96046f75eaf3f1fb18a3b70554af70ec150ddf4d77470b67f
Contents?: true
Size: 1.43 KB
Versions: 31
Compression:
Stored size: 1.43 KB
Contents
<% content_for :html_head do %> <%= stylesheet_link_tag "cms/content_library" %> <% javascript_tag do %> jQuery(function($){ $('#block_content .header').html("Content tagged with '<%= escape_javascript(h(@content_block.name)) %>'") }) <% end %> <% end %> <div class="pad"> <div class="roundedcorners"> <table class="data"> <thead> <tr> <th class="name first" colspan="2"> <div class="dividers"> Name </div> </th> <th class="last" colspan="2"> <div class="dividers"> Type </div> </th> </tr> </thead> <tbody> <% for tg in @taggings %> <tr> <td class="first"></td> <td class="name"> <div class="dividers"> <%= link_to h(tg.taggable.name), [:cms, tg.taggable] %> </div> </td> <td class="name"> <div class="dividers"> <%=h tg.taggable.display_name %> </div> </td> <td class="last"></td> </tr> <% end %> </tbody> </table> <div class="tl"></div> <div class="tr"></div> <div class="bl"></div> <div class="br"></div> </div> </div> <% if @taggings.total_pages > 1 %> <%= render_pagination @taggings, :tag, {:id => @content_block} %> <% end %>
Version data entries
31 entries across 31 versions & 10 rubygems