Sha256: e19bbae2abb2878d5dcfe162924d082e1e2714bdf12beab20dd248553cfe224c
Contents?: true
Size: 1.22 KB
Versions: 10
Compression:
Stored size: 1.22 KB
Contents
<div id="content_detail" class="ui-corner-all"> <h1 class="title"><%= t('page.listing', :model => t('activerecord.models.subscription')) -%></h1> <div id="content_list"> <table class="table table-striped index"> <tr> <th><%= t('page.title') -%></th> <th><%= t('activerecord.attributes.subscription.subscribes_count') -%></th> <th></th> </tr> <%- @subscriptions.each do |subscription| -%> <tr class="line<%= cycle("0", "1") -%>"> <td><%= link_to subscription.title, subscription -%></td> <td><%= subscription.works.size -%></td> <td> <% if can? :delete, subscription %> <%= link_to t('page.edit'), edit_subscription_path(subscription) -%> <%= link_to t('page.destroy'), subscription, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%> <% end %> </td> </tr> <%- end -%> </table> <%= paginate(@subscrpitions) -%> </div> </div> <div id="submenu" class="ui-corner-all"> <ul> <%- if @work -%> <li><%= link_to t('page.add', :model => t('activerecord.models.work')), subscriptions_path -%></li> <%- else -%> <li><%= link_to t('page.new', :model => t('activerecord.models.subscription')), new_subscription_path -%></li> <%- end -%> </ul> </div>
Version data entries
10 entries across 10 versions & 1 rubygems