Use a button to destroy officials
As mentioned in commits5311daadfandbb958daf0, using links combined with JavaScript to generate POST (or, in this case, DELETE) requests to the server has a few issues.
This commit is contained in:
@@ -3,4 +3,8 @@
|
||||
&[disabled] {
|
||||
@include button-disabled;
|
||||
}
|
||||
|
||||
&.delete {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user