Sha256: 2966dd1274b37ba7df2518e3f22bddefc3a2af5b73717c997238cb993053dfa1
Contents?: true
Size: 1.23 KB
Versions: 7
Compression:
Stored size: 1.23 KB
Contents
<%= title t("order_status", scope: "activerecord.models.mechanize_store").pluralize %> <% content_for :right do -%> <li class="active"> <%= link_to t("new_order_status"), new_order_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.order_status") %></th> <th colspan="3"></th> </tr> </thead> <tbody> <% @order_statuses.each do |order_status| %> <tr> <td><%= order_status.id %></td> <td><%= order_status.name %></td> <td> <%= link_to order_status do %> <i class="fa fa-file"></i> <% end -%> </td> <td> <%= link_to edit_order_status_path(order_status) do %> <i class="fa fa-edit"></i> <% end -%> </td> <td> <%= link_to order_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 @order_statuses %>
Version data entries
7 entries across 7 versions & 2 rubygems