Skip to content

CSS-only mechanism to require a confirmation before allowing an action (Django template)

License

Notifications You must be signed in to change notification settings

edouard-lopez/ui-confirm-link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Confirmation Link

CSS-only mechanism to require a confirmation before allowing an action.

Currently only available as a Django template.

Requirements

Preview

default ← default clicked ← clicked require-corfirmation ← require corfirmation

Usage

  1. Import the SCSS in your main stylesheet:

     @import "confirm-link";
    
  2. 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 %}

About

CSS-only mechanism to require a confirmation before allowing an action (Django template)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published