# Frontend Forms
Frontend implementation of Django forms using HTMX, AlpineJS, and django-cotton components.
## Definition: Cotton Form Component
A reusable template partial that encapsulates label rendering, error handling, and Tailwind styling for a single Django form field.
## Workflow: Rendering a form with Cotton
1. Pass the form instance from the Django view to the template context.
2. Iterate through fields or call them individually:
```html
{% for field in form %}