{% extends layout_path %} {% load static %} {% load i18n %} {% block title %}SweetAlert2 - Extended UI{% endblock %} {% block vendor_css %} {{ block.super }} {% endblock vendor_css %} {% block vendor_js %} {{ block.super }} {% endblock vendor_js %} {% block page_js %} {{ block.super }} {% endblock page_js %} {% block content %}

{% translate "Extended UI" %} / {% translate "SweetAlert2" %}

Basic Examples
SweetAlert automatically centers itself on the page and looks great no matter if you're using a desktop computer, mobile or tablet. It's even highly customizable, as you can see below!
Position
You can specify position of your alert with {position : top-start | top-end | bottom-start | bottom-end } in js
Animations
Use popup inside showClass parameter to add animation to alert
Types
Use icon parameter to create a alert with type.
Options
Confirm Options

Confirm Button Action

Confirm & Cancel Button Action

{% endblock %}