This commit is contained in:
Sunandar
2017-01-24 18:10:39 +06:30
parent 2893f33a23
commit cfb738e479
3 changed files with 5 additions and 4 deletions

View File

@@ -39,7 +39,7 @@
<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' %>
user_path(user), :class => 'btn btn-primary btn-sm ' %>
<%= link_to t('.edit', :default => t("helpers.links.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' %>