summaryrefslogtreecommitdiffstats
path: root/app/views/roles/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/roles/index.html.erb')
-rw-r--r--app/views/roles/index.html.erb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/roles/index.html.erb b/app/views/roles/index.html.erb
index 9d3c46c14..30cef5330 100644
--- a/app/views/roles/index.html.erb
+++ b/app/views/roles/index.html.erb
@@ -20,10 +20,7 @@
<% end %>
</td>
<td class="buttons">
- <%= link_to(l(:button_delete), role_path(role),
- :method => :delete,
- :confirm => l(:text_are_you_sure),
- :class => 'icon icon-del') unless role.builtin? %>
+ <%= delete_link role_path(role) unless role.builtin? %>
</td>
</tr>
<% end %>