mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 10:51:09 -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.
13 lines
626 B
HTML
13 lines
626 B
HTML
{% load widget_tweaks %}
|
|
|
|
<div class="flex items-center space-x-2">
|
|
{% render_field field class+="aspect-square h-4 w-4 rounded border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50" %}
|
|
|
|
<label for="{{ field.id_for_label }}" class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70">
|
|
{{ label }}
|
|
</label>
|
|
</div>
|
|
{% if field.errors %}
|
|
<p class="mt-1 text-sm font-medium text-destructive">{{ field.errors.0 }}</p>
|
|
{% endif %}
|