feat: add description field for pet pictures
This commit is contained in:
@@ -31,6 +31,9 @@ endblock %} {% block content %}
|
||||
<h3 class="text-lg font-semibold text-gray-800">
|
||||
From: {{ picture.subscriber_name }}
|
||||
</h3>
|
||||
{% if picture.description %}
|
||||
<p class="mt-2 text-gray-600">{{ picture.description }}</p>
|
||||
{% endif %}
|
||||
<p class="text-sm text-gray-600">Uploaded: {{ picture.uploaded_at }}</p>
|
||||
<div class="mt-4 space-y-2">
|
||||
<a
|
||||
|
||||
@@ -25,6 +25,19 @@ Queue{% endblock %} {% block content %}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="description" class="block text-sm font-medium text-gray-700"
|
||||
>Description (Optional)</label
|
||||
>
|
||||
<textarea
|
||||
name="description"
|
||||
id="description"
|
||||
rows="3"
|
||||
class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500"
|
||||
placeholder="Add a description for the pet picture..."
|
||||
></textarea>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="picture" class="block text-sm font-medium text-gray-700"
|
||||
>Pet Picture</label
|
||||
|
||||
Reference in New Issue
Block a user