iteracion 2

This commit is contained in:
Nachou-u
2026-09-07 18:44:32 -03:00
parent a103a47ae6
commit 09a3f6fb37
93 changed files with 7394 additions and 349 deletions
+26
View File
@@ -0,0 +1,26 @@
{% if form.non_field_errors %}
<div class="alert alert-danger" style="margin-bottom: 1rem;">
{% for err in form.non_field_errors %}
<p style="margin:0;">{{ err }}</p>
{% endfor %}
</div>
{% endif %}
<div class="form-grid">
{% for field in form %}
<div class="form-group {% if 'summary' in field.name or 'address' in field.name or 'description' in field.name or 'feedback' in field.name %}full-width{% endif %}">
<label for="{{ field.id_for_label }}" class="form-label">{{ field.label }}</label>
{{ field }}
{% if field.help_text %}
<small class="form-help">{{ field.help_text }}</small>
{% endif %}
{% if field.errors %}
<div class="form-error">
{% for err in field.errors %}
<span>{{ err }}</span>
{% endfor %}
</div>
{% endif %}
</div>
{% endfor %}
</div>