Sha256: f5c949f6385e16acda27e1c73873106edb52cd1ed8e1159b05aa80a17830ef54

Contents?: true

Size: 530 Bytes

Versions: 6

Compression:

Stored size: 530 Bytes

Contents

<%= render 'header' %>

<h1 class="float-md-left">Plans</h1>

<p><%= link_to 'New', tang.new_admin_plan_path, class: 'btn btn-secondary float-md-right' %></p>

<table class="table">
  <thead>
    <tr>
      <th>Plan</th>
      <th>Cost</th>
    </tr>
  </thead>

  <tbody>
    <% @plans.each do |plan| %>
      <tr>
        <td><%= link_to plan.name, tang.admin_plan_path(plan) %></td>
        <td><%= "#{plan_cost(plan)}" %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<%= will_paginate @plans %>

<%= render 'footer' %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tang-0.2.2 app/views/tang/admin/plans/index.html.erb
tang-0.2.1 app/views/tang/admin/plans/index.html.erb
tang-0.2.0 app/views/tang/admin/plans/index.html.erb
tang-0.1.0 app/views/tang/admin/plans/index.html.erb
tang-0.0.9 app/views/tang/admin/plans/index.html.erb
tang-0.0.8 app/views/tang/admin/plans/index.html.erb