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

@@ -4,7 +4,7 @@
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item active">Account</li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
<%= link_to t('.new', :default => t("views.btn.new")), dashboard_path %>
</span>
</ol>
</div>
@@ -40,8 +40,8 @@
<td><%= account.bonus %></td>
<td><%= account.rebate %></td>
<td>
<%= link_to 'Edit', edit_settings_account_path(account),:class => 'btn btn-primary btn-lg waves-effect' %>
<%= link_to 'Destroy', settings_account_path(account),:class => 'btn btn-danger btn-lg waves-effect', method: :delete, data: { confirm: 'Are you sure?' } %>
<%= link_to t("views.btn.edit"), edit_settings_account_path(account),:class => 'btn btn-primary btn-lg waves-effect' %>
<%= link_to t("views.btn.delete"), settings_account_path(account),:class => 'btn btn-danger btn-lg waves-effect', method: :delete, data: { confirm: 'Are you sure?' } %>
</td>
</tr>