progress on conversion to tailwind
This commit is contained in:
parent
6a872124c6
commit
6e2843c60e
110 changed files with 4997 additions and 1691 deletions
33
theme/templates/friend_codes/confirm_delete_friend_code.html
Normal file
33
theme/templates/friend_codes/confirm_delete_friend_code.html
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{% extends 'base.html' %}
|
||||
{% load crispy_forms_tags %}
|
||||
|
||||
{% block title %}Delete Friend Code{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container mx-auto max-w-md mt-6">
|
||||
<h1 class="text-3xl font-bold mb-4">Delete Friend Code</h1>
|
||||
<p class="mb-4">
|
||||
Are you sure you want to delete friend code:
|
||||
<span class="font-mono">{{ friend_code.friend_code }}</span>?
|
||||
</p>
|
||||
|
||||
{% if error_message %}
|
||||
<div class="alert alert-warning mb-4">
|
||||
{{ error_message }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<form method="post" class="flex space-x-4">
|
||||
{% csrf_token %}
|
||||
<button type="submit" class="btn btn-error"
|
||||
{% if disable_delete %} disabled {% endif %}>
|
||||
{% if disable_delete %}
|
||||
Delete Not Allowed
|
||||
{% else %}
|
||||
Confirm Delete
|
||||
{% endif %}
|
||||
</button>
|
||||
<a href="{% url 'list_friend_codes' %}" class="btn btn-secondary">Cancel</a>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue