mirror of
https://github.com/pretix/pretix.git
synced 2026-05-13 16:33:59 +00:00
Added descriptions to item categories
This commit is contained in:
@@ -16,7 +16,8 @@ class CategoryForm(I18nModelForm):
|
||||
model = ItemCategory
|
||||
localized_fields = '__all__'
|
||||
fields = [
|
||||
'name'
|
||||
'name',
|
||||
'description'
|
||||
]
|
||||
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<fieldset>
|
||||
<legend>{% trans "General information" %}</legend>
|
||||
{% bootstrap_field form.name layout="horizontal" %}
|
||||
{% bootstrap_field form.description layout="horizontal" %}
|
||||
</fieldset>
|
||||
<div class="form-group submit-group">
|
||||
<button type="submit" class="btn btn-primary btn-save">
|
||||
|
||||
Reference in New Issue
Block a user