Fix some whitespace complaints.
[arvados.git] / apps / workbench / app / views / users / _show_admin.html.erb
index 0cc5f746166e3d4ee874b67cad3893ab1d6c1224..90afd1132891e3613a49f59d502c87dc1d8fce45 100644 (file)
@@ -9,5 +9,5 @@ account.</p>
 <p>As an admin, you can deactivate and reset this user. This will remove all repository/VM permissions for the user. If you "setup" the user again, the user will have to sign the user agreement again.</p>
 
 <blockquote>
-<%=  link_to "Deactivate #{@object.full_name}", { action: 'unsetup', id: @object.uuid }, { confirm: "Are you sure you want to deactivate #{@object.full_name}?", method: 'post' } %>
+<%= button_to "Deactivate #{@object.full_name}", unsetup_user_url(id: @object.uuid), class: 'btn btn-primary', confirm: "Are you sure you want to deactivate #{@object.full_name}?"%>
 </blockquote>