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

Version Path
SFEley-browsercms-3.0.2 app/views/cms/tags/render.html.erb
buzzware-browsercms-3.0.2 app/views/cms/tags/render.html.erb
coredumplings-browsercms-3.0.0 app/views/cms/tags/render.html.erb
nate-browsercms-3.0.210 app/views/cms/tags/render.html.erb
nate-browsercms-3.0.211 app/views/cms/tags/render.html.erb
we5-browsercms-3.0.1.1 app/views/cms/tags/render.html.erb
webficient-browsercms-3.0.1 app/views/cms/tags/render.html.erb
webficient-browsercms-3.0.2 app/views/cms/tags/render.html.erb
webficient-browsercms-3.0.3 app/views/cms/tags/render.html.erb
webficient-browsercms-3.0.4 app/views/cms/tags/render.html.erb
browsercms-3.1.5 app/views/cms/tags/render.html.erb
browsercms-3.1.4 app/views/cms/tags/render.html.erb
browsercms-3.1.3 app/views/cms/tags/render.html.erb
bf4-browsercms-3.1.0 app/views/cms/tags/render.html.erb
drujensen-browsercms-3.2.0 app/views/cms/tags/render.html.erb
browsercms-3.1.2 app/views/cms/tags/render.html.erb
browsercms-3.1.1 app/views/cms/tags/render.html.erb
browsercms-3.1.0 app/views/cms/tags/render.html.erb
browsercms-3.0.6 app/views/cms/tags/render.html.erb
browsercms-3.0.5 app/views/cms/tags/render.html.erb