{% extends 'layout.html' %}

{% load static %}

{% load crispy_forms_tags %}

{% block content %}

<div class="mx-1 my-2" style="border: 0.2px solid rgba(0, 0, 0, 0.1);">
    <h3 class="p-2" style="background-color:#212529;color:white;">LINE DELETE FORM</h3>
    <div class="p-5">
        <div class="mb-3">
            <div class="row">
                <div class="col-sm-12 col-lg-6">
                    {% if user.profile.role == 'SUPERADMIN' %}
                    <form method="post" action="">
                        {% csrf_token %}
                        <h5>ARE YOU SURE YOU WANT YOU DELETE THIS ENTRY?</h5>
                        <button type="submit" class="btn btn-danger mt-3 shadowed" onclick="return confirm('Are you sure you want to Delete this Entry?')">Delete</button>
                    </form>
                    {% endif %}
                </div>
                <div class="col-sm-12 col-lg-6"></div>
            </div>
        </div>
    </div>
</div>
{% endblock %}