mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 16:11:08 -05:00
- Implemented park detail page with dynamic content loading for rides and weather. - Created park list page with filters and search functionality. - Developed ride detail page showcasing ride stats, reviews, and similar rides. - Added ride list page with filtering options and dynamic loading. - Introduced search results page with tabs for parks, rides, and users. - Added HTMX tests for global search functionality.
20 lines
928 B
HTML
20 lines
928 B
HTML
{% load widget_tweaks %}
|
|
|
|
<div class="space-y-2">
|
|
{% if label %}
|
|
<label for="{{ field.id_for_label }}" class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70">
|
|
{{ label }}
|
|
</label>
|
|
{% endif %}
|
|
|
|
{% render_field field class+="flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50" placeholder=placeholder %}
|
|
|
|
{% if field.help_text %}
|
|
<p class="text-sm text-muted-foreground">{{ field.help_text }}</p>
|
|
{% endif %}
|
|
|
|
{% if field.errors %}
|
|
<p class="text-sm font-medium text-destructive">{{ field.errors.0 }}</p>
|
|
{% endif %}
|
|
</div>
|