summaryrefslogtreecommitdiff
path: root/app/views/admin/users/_form.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-29 22:18:19 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-29 22:18:19 +0200
commit033aa1a885801c299a20ab39af6f897bb53dc3d4 (patch)
tree187e5488facac4cd9e50776e3a09c782ff245b6f /app/views/admin/users/_form.html.haml
parent9fdbdc662a01ac0845638c1012aa0625de6158be (diff)
downloadgitlab-ce-033aa1a885801c299a20ab39af6f897bb53dc3d4.tar.gz
refactor buttons pt1
Diffstat (limited to 'app/views/admin/users/_form.html.haml')
-rw-r--r--app/views/admin/users/_form.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/users/_form.html.haml b/app/views/admin/users/_form.html.haml
index 465568ade9e..9f447bcd9e7 100644
--- a/app/views/admin/users/_form.html.haml
+++ b/app/views/admin/users/_form.html.haml
@@ -66,7 +66,7 @@
= link_to 'Unblock User', unblock_admin_user_path(@admin_user), method: :put, class: "btn small"
- else
%p Blocked users will be removed from all projects &amp; will not be able to login to GitLab.
- = link_to 'Block User', block_admin_user_path(@admin_user), confirm: 'USER WILL BE BLOCKED! Are you sure?', method: :put, class: "btn small danger"
+ = link_to 'Block User', block_admin_user_path(@admin_user), confirm: 'USER WILL BE BLOCKED! Are you sure?', method: :put, class: "btn small btn-remove"
%fieldset
%legend Profile
.clearfix
@@ -80,8 +80,8 @@
.input= f.text_field :twitter
.actions
- = f.submit 'Save', class: "btn save-btn"
+ = f.submit 'Save', class: "btn btn-save"
- if @admin_user.new_record?
- = link_to 'Cancel', admin_users_path, class: "btn cancel-btn"
+ = link_to 'Cancel', admin_users_path, class: "btn btn-cancel"
- else
- = link_to 'Cancel', admin_user_path(@admin_user), class: "btn cancel-btn"
+ = link_to 'Cancel', admin_user_path(@admin_user), class: "btn btn-cancel"