refactor buttons pt1
This commit is contained in:
parent
9fdbdc662a
commit
033aa1a885
75 changed files with 139 additions and 150 deletions
|
@ -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 & 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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue