Sha256: 7b96a0da6dceade41faa7559f9e67a7221772fb35b882dab31989e1c89af0fd9
Contents?: true
Size: 728 Bytes
Versions: 3
Compression:
Stored size: 728 Bytes
Contents
<%= render 'header' %> <h1>Subscriptions</h1> <table class="table table-responsive"> <thead> <tr> <th>Customer</th> <th>Status</th> <th>Plan</th> <th>Created</th> </tr> </thead> <tbody> <% @subscriptions.each do |subscription| %> <tr> <td><%= link_to subscription.customer.email, tang.admin_subscription_path(subscription) %></td> <td><%= subscription.status %></td> <td> <%= subscription.plan.name %> <%= "(#{plan_cost(subscription.plan)})" %> </td> <td><%= created_datetime(subscription.created_at) %></td> </tr> <% end %> </tbody> </table> <%= will_paginate @subscriptions %> <%= render 'footer' %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tang-0.1.0 | app/views/tang/admin/subscriptions/index.html.erb |
tang-0.0.9 | app/views/tang/admin/subscriptions/index.html.erb |
tang-0.0.8 | app/views/tang/admin/subscriptions/index.html.erb |