refactor buttons pt1
This commit is contained in:
parent
9fdbdc662a
commit
033aa1a885
75 changed files with 139 additions and 150 deletions
|
@ -19,6 +19,6 @@
|
|||
|
||||
|
||||
.actions
|
||||
= f.submit 'Save', class: "btn save-btn"
|
||||
= link_to "Cancel", keys_path, class: "btn cancel-btn"
|
||||
= f.submit 'Save', class: "btn btn-save"
|
||||
= link_to "Cancel", keys_path, class: "btn btn-cancel"
|
||||
|
||||
|
|
|
@ -8,5 +8,5 @@
|
|||
= time_ago_in_words(key.created_at)
|
||||
ago
|
||||
%td
|
||||
= link_to 'Remove', key, confirm: 'Are you sure?', method: :delete, class: "btn small danger delete-key right"
|
||||
= link_to 'Remove', key, confirm: 'Are you sure?', method: :delete, class: "btn small btn-remove delete-key right"
|
||||
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
|
||||
%pre= @key.key
|
||||
.right
|
||||
= link_to 'Remove', @key, confirm: 'Are you sure?', method: :delete, class: "btn danger delete-key"
|
||||
= link_to 'Remove', @key, confirm: 'Are you sure?', method: :delete, class: "btn btn-remove delete-key"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue