Sha256: 8d332c4fb9b75ddd379384756ef17e042e901acd01aefb26c7ba514c32309c46

Contents?: true

Size: 694 Bytes

Versions: 3

Compression:

Stored size: 694 Bytes

Contents

<h1>Subscriptions (<%= @subscriptions.total_count %> total)</h1>
<table class="table table-hover table-striped">
  <tr>
    <th>Guid</th>
    <th>Date</th>
    <th>State</th>
    <th>Email</th>
    <th class="text-right">Amount</th>
  </tr>
  <% @subscriptions.each do |subscription| %>
    <tr>
      <td><%= link_to subscription.guid, subscription_path(subscription.guid) %></td>
      <td><%= time_ago_in_words(subscription.created_at) %> ago</td>
      <td><%= subscription.state %></td>
      <td><%= subscription.email %></td>
      <td class="text-right"><%= subscription.amount %></td>
    </tr>
  <% end %>
</table>
<nav>
  <%= paginate @subscriptions, :theme => 'bootstrap' %>
</nav>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
payola_spy-0.0.3 app/views/payola_spy/subscriptions/index.html.erb
payola_spy-0.0.2 app/views/payola_spy/subscriptions/index.html.erb
payola_spy-0.0.1 app/views/payola_spy/subscriptions/index.html.erb