Sha256: 93427b387cb9377431976091b451d9f7d6b45d8494db291248c1826ed92a9a22
Contents?: true
Size: 1.23 KB
Versions: 1
Compression:
Stored size: 1.23 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? :destroy, 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> <%= will_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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_library-0.0.2 | app/views/subscriptions/index.html.erb |