diff --git a/app/views/profile_editor/edit.rhtml b/app/views/profile_editor/edit.rhtml
index 7daca88..b6201f1 100644
--- a/app/views/profile_editor/edit.rhtml
+++ b/app/views/profile_editor/edit.rhtml
@@ -76,14 +76,18 @@
<%= select_categories(:profile_data, _('Select the categories of your interest'), 2) %>
- <% if user && user.has_permission?('destroy_profile', profile) %>
- <%= link_to _('Delete profile'), {:action => :destroy_profile}, :id => 'delete-profile-link' %>
- <% end %>
-
<% button_bar do %>
<%= submit_button('save', _('Save'), :cancel => {:action => 'index'}) %>
<%= button(:back, _('Back to control panel'), :controller => 'profile_editor') %>
<% end %>
+
+ <% if user && user.has_permission?('destroy_profile', profile) %>
+ <% button_bar(:id => 'delete-profile') do %>
+ <%= button(:remove, _('Delete profile'), {:action => :destroy_profile}) %>
+ <% end %>
+ <% end %>
+
+
<% end %>
<%# = generate_form :info, @info, {...} %>
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index f6f1335..46770ec 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -3503,8 +3503,8 @@ h1#agenda-title {
-webkit-border-radius: 3px;
}
-.controller-profile_editor #delete-profile-link {
- float: right;
+.controller-profile_editor #delete-profile {
+ margin-top: 30px;
}
.controller-profile_editor a.control-panel-groups { background-image: url(../images/control-panel/system-users.png) }
--
libgit2 0.21.2