diff options
Diffstat (limited to 'app/views/users/_user.html.erb')
| -rw-r--r-- | app/views/users/_user.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/users/_user.html.erb b/app/views/users/_user.html.erb index 3a88f5e2..9c6466a2 100644 --- a/app/views/users/_user.html.erb +++ b/app/views/users/_user.html.erb | |||
| @@ -8,8 +8,8 @@ | |||
| 8 | </td> | 8 | </td> |
| 9 | <td> | 9 | <td> |
| 10 | <%= button_to user_path(user), method: :delete, | 10 | <%= button_to user_path(user), method: :delete, |
| 11 | form: { data: { confirm: "Do you really want to destroy user #{user.login}?" }, class: 'button_to destructive' } do %> | 11 | form: { data: { confirm: t(".confirm_destroy", :login => user.login) }, class: 'button_to destructive' } do %> |
| 12 | <%= icon("trash", library: "tabler", "aria-hidden": true) %> Destroy | 12 | <%= icon("trash", library: "tabler", "aria-hidden": true) %> <%= t("admin.common.destroy") %> |
| 13 | <% end %> | 13 | <% end %> |
| 14 | </td> | 14 | </td> |
| 15 | <% end %> | 15 | <% end %> |
