diff --git a/app/views/users/deletion_info.html.erb b/app/views/users/deletion_info.html.erb index 6ced8eb0ac..fa5fad3ee6 100644 --- a/app/views/users/deletion_info.html.erb +++ b/app/views/users/deletion_info.html.erb @@ -27,27 +27,28 @@ See doc/COPYRIGHT.rdoc for more details. ++#%> <%= toolbar title: "#{l('account.deletion_info.heading', :name => h(@user.name))}" %> -<%= labelled_tabular_form_for :user, :url => user_path(@user), :html => { :method => :delete, :class => 'confirm_required' } do |form| %> +<%= labelled_tabular_form_for :user, :url => user_path(@user), :html => { :method => :delete, :class => 'confirm_required form -bordered -danger-zone' } do |form| %>
- <%= l("account.deletion_info.login_consequences.#{User.current == @user ? 'self' : 'other'}") %> -
- -- <%= l("account.deletion_info.data_consequences.#{User.current == @user ? 'self' : 'other'}") %> -
- -- <%= l("account.deletion_info.info.#{User.current == @user ? 'self' : 'other'}") %> -
++ <%= l("account.deletion_info.login_consequences.#{User.current == @user ? 'self' : 'other'}") %> +
+ ++ <%= l("account.deletion_info.data_consequences.#{User.current == @user ? 'self' : 'other'}") %> +
+- <%= form.submit l(:button_delete), class: 'button -highlight' %> - <%= link_to l(:button_cancel), { :controller => '/my', :action => 'account' }, - class: 'button' %> -
<% end %> <%= javascript_tag do -%>