Sha256: ff9f645f6bb8d537d8e521cd999aecbd05c7f363d44f1957ba0cd10841ee38cc

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

<%= title t("payment_status", scope: "activerecord.models").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") %></th>
      <th><%= sort_link @search, :name, t(:name, scope: "activerecord.attributes.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

1 entries across 1 versions & 1 rubygems

Version Path
mechanize-store-0.0.1 app/views/mechanize_store/payment_statuses/index.html.erb