This commit is contained in:
Yan
2017-10-13 15:53:34 +06:30
parent 9a761e5402
commit 746f5ad471
107 changed files with 270 additions and 269 deletions

View File

@@ -2,5 +2,5 @@
<%= render 'form', product_commission: @product_commission %>
<%= link_to 'Show', @product_commission %> |
<%= link_to t("views.btn.show"), @product_commission %> |
<%= link_to 'Back', product_commissions_path %>

View File

@@ -12,9 +12,9 @@
<tbody>
<% @product_commissions.each do |product_commission| %>
<tr>
<td><%= link_to 'Show', product_commission %></td>
<td><%= link_to 'Edit', edit_product_commission_path(product_commission) %></td>
<td><%= link_to 'Destroy', product_commission, method: :delete, data: { confirm: 'Are you sure?' } %></td>
<td><%= link_to t("views.btn.show"), product_commission %></td>
<td><%= link_to t("views.btn.edit"), edit_product_commission_path(product_commission) %></td>
<td><%= link_to t("views.btn.delete"), product_commission, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>

View File

@@ -1,4 +1,4 @@
<p id="notice"><%= notice %></p>
<%= link_to 'Edit', edit_product_commission_path(@product_commission) %> |
<%= link_to t("views.btn.edit"), edit_product_commission_path(@product_commission) %> |
<%= link_to 'Back', product_commissions_path %>