Use a button to destroy officials

As mentioned in commits 5311daadf and bb958daf0, 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:
Javi Martín
2024-03-06 05:06:24 +01:00
parent 5876738369
commit 53d85d6431
3 changed files with 17 additions and 5 deletions

View File

@@ -3,4 +3,8 @@
&[disabled] {
@include button-disabled;
}
&.delete {
cursor: pointer;
}
}