Merge branch 'fix-remove-button-alignment' into 'master'
In SSH key detailed view, align the "Remove" button with the right container Also fixes a bootlint warning. Before: ![image](https://gitlab.com/stanhu/gitlab-ce/uploads/d6d8765ed9dceb6a31a6b4475b2166e1/image.png) After: ![image](https://gitlab.com/stanhu/gitlab-ce/uploads/8252211125ace212335aa6bf2ba78549/image.png) See merge request !1555
This commit is contained in:
commit
c99e9edce7
1 changed files with 3 additions and 2 deletions
|
@ -18,5 +18,6 @@
|
|||
%code.key-fingerprint= @key.fingerprint
|
||||
%pre.well-pre
|
||||
= @key.key
|
||||
.pull-right
|
||||
= link_to 'Remove', path_to_key(@key, is_admin), data: {confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove delete-key"
|
||||
.col-md-12
|
||||
.pull-right
|
||||
= link_to 'Remove', path_to_key(@key, is_admin), data: {confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove delete-key"
|
||||
|
|
Loading…
Reference in a new issue