CSS-only mechanism to require a confirmation before allowing an action.
Currently only available as a Django
template.
- (optional) Bootstrap
≥3
;
← default ← clicked ← require corfirmation
-
Import the
SCSS
in your main stylesheet:@import "confirm-link";
-
add the
HTML
code from ./_confirm-link.html to your form ;{% url 'core:remove_measure' measure.id as action_url %} {% trans 'supprimer' as delete %} {% include 'components/widgets/_confirm-link.html' with item=measure url=action_url action=delete %}