edti dashboard

This commit is contained in:
Sunandar
2017-01-31 11:33:00 +06:30
parent 8085d311ab
commit 58dcf588df
6 changed files with 93 additions and 8 deletions

View File

@@ -39,8 +39,8 @@
<td><%= user.created_at.strftime("%e,%b %Y %I:%M %p") rescue '' %></td>
<td>
<%= link_to 'Detail',
user_path(user), :class => 'btn btn-primary btn-sm ' %>
<%= link_to t('.edit', :default => t("helpers.links.edit")),
user_path(user), :class => 'btn btn-primary btn-sm' %>
<%= link_to 'Edit',
edit_user_path(user), :class => 'btn btn-primary btn-sm' %>
<%= link_to 'Delete', user_path(user), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-primary btn-sm' %>
</td>