{% extends 'inventory/base.html' %} {% block title %}{{ title }}{% endblock %} {% block content %} ← Zurück{{ title }} {% csrf_token %}{{ form.non_field_errors }} {% for field in form %} {% if field.name == 'color' %} {{ field.label }}{% for option in field %}{{ option.tag }}{{ option.choice_label }}{% endfor %}{% if field.help_text %}{{ field.help_text }}{% endif %}{{ field.errors }} {% else %} {{ field.label }}{{ field }}{% if field.help_text %}{{ field.help_text }}{% endif %}{{ field.errors }} {% endif %} {% endfor %} AbbrechenSpeichern {% endblock %}