This commit is contained in:
pacnpal
2024-10-29 23:11:55 -04:00
parent 6880f36b99
commit c58968a24a
20 changed files with 175 additions and 153 deletions

View File

@@ -8,7 +8,7 @@
<div class="flex flex-col items-start justify-between gap-4 mb-6 md:flex-row md:items-center">
<h1 class="text-3xl font-bold text-gray-900 dark:text-white">Parks</h1>
{% if user.is_authenticated %}
<a href="{% url 'parks:park_create' %}" class="btn-primary">
<a href="{% url 'park_create' %}" class="btn-primary">
<i class="mr-2 fas fa-plus"></i>Add Park
</a>
{% endif %}
@@ -70,7 +70,7 @@
{% endif %}
<div class="p-4">
<h2 class="mb-2 text-xl font-bold">
<a href="{% url 'parks:park_detail' park.slug %}"
<a href="{% url 'park_detail' park.slug %}"
class="text-gray-900 hover:text-blue-600 dark:text-white dark:hover:text-blue-400">
{{ park.name }}
</a>