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

@@ -12,9 +12,9 @@
<tbody>
<% @dining_charges.each do |dining_charge| %>
<tr>
<td><%= link_to 'Show', dining_charge %></td>
<td><%= link_to 'Edit', edit_dining_charge_path(dining_charge) %></td>
<td><%= link_to 'Destroy', dining_charge, method: :delete, data: { confirm: 'Are you sure?' } %></td>
<td><%= link_to t("views.btn.show"), dining_charge %></td>
<td><%= link_to t("views.btn.edit"), edit_dining_charge_path(dining_charge) %></td>
<td><%= link_to t("views.btn.delete"), dining_charge, 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_dining_charge_path(@dining_charge) %> |
<%= link_to 'Back', dining_charges_path %>
<%= link_to t("views.btn.edit"), edit_dining_charge_path(@dining_charge) %> |
<%= link_to t('.new', :default => t("views.btn.new")), dining_charges_path %>