Sha256: 3734764179ea579376ad2d9adc685e442b301aaf4be9b4f7d1cccd775fea6284

Contents?: true

Size: 1.25 KB

Versions: 7

Compression:

Stored size: 1.25 KB

Contents

<%= title t("payment_status", scope: "activerecord.models.mechanize_store").pluralize %>

<% content_for :right do -%>
  <li class="active">
    <%= link_to t("new_payment_status"), new_payment_status_path %>
  </li>
<% end -%>

<table class="table table-striped">
  <thead>
    <tr>
      <th><%= sort_link @search, :id, t(:id, scope: "activerecord.attributes.mechanize_store") %></th>
      <th><%= sort_link @search, :name, t(:name, scope: "activerecord.attributes.mechanize_store.payment_status") %></th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>

    <% @payment_statuses.each do |payment_status| %>
      <tr>
        <td><%= payment_status.id %></td>
        <td><%= payment_status.name %></td>
        <td>
          <%= link_to payment_status do %>
            <i class="fa fa-file"></i>
          <% end -%>
        </td>
        <td>
          <%= link_to edit_payment_status_path(payment_status) do %>
            <i class="fa fa-edit"></i>
          <% end -%>
        </td>
        <td>
          <%= link_to payment_status, method: :delete, data: { confirm: t(:are_you_sure) } do %>
            <i class="fa fa-trash"></i>
          <% end -%>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= will_paginate @payment_statuses %>

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
mechanize_store-0.0.8 app/views/mechanize_store/payment_statuses/index.html.erb
mechanize_store-0.0.7 app/views/mechanize_store/payment_statuses/index.html.erb
mechanize_store-0.0.6 app/views/mechanize_store/payment_statuses/index.html.erb
mechanize_store-0.0.5 app/views/mechanize_store/payment_statuses/index.html.erb
mechanize_store-0.0.4 app/views/mechanize_store/payment_statuses/index.html.erb
mechanize_store-0.0.3 app/views/mechanize_store/payment_statuses/index.html.erb
mechanize-store-0.0.2 app/views/mechanize_store/payment_statuses/index.html.erb