Sha256: 3cbec3cc67867db029f4e94597b03cbc807380e8b1318ac985a0fe31cff65eca

Contents?: true

Size: 744 Bytes

Versions: 4

Compression:

Stored size: 744 Bytes

Contents

<% content_for :data_controls do %>
  <%= link_to 'Upload Banner', new_admin_banner_set_banner_path(@banner_set), :class => 'btn btn-primary admin-banner-set-item-add' %>
<% end %>

<div class="table-responsive">
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th>Banner</th>
        <th>Start Date</th>
        <th>End Date</th>
        <% if !@banner_set.has_rich_text %>
          <th>Links to</th>
        <% end %>
        <th>&nbsp;</th>
      </tr>
    </thead>
    <tbody class="admin-banner-set-items-container">
      <%= render :partial => 'admin/banners/banner', :collection => @banner_set.banners %>
    </tbody>
  </table>
</div>

<script>
  $(document).ready(spud.admin.banners.init);
</script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tb_banners-1.3.beta1 app/views/admin/banner_sets/show.html.erb
tb_banners-1.2.1 app/views/admin/banner_sets/show.html.erb
tb_banners-1.2.0 app/views/admin/banner_sets/show.html.erb
tb_banners-1.2.0.beta1 app/views/admin/banner_sets/show.html.erb