mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Fix empty log in category form
This commit is contained in:
@@ -8,23 +8,25 @@
|
|||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% bootstrap_form_errors form %}
|
{% bootstrap_form_errors form %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-lg-10">
|
<div class="col-xs-12{% if category %} col-lg-10{% endif %}">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{% trans "General information" %}</legend>
|
<legend>{% trans "General information" %}</legend>
|
||||||
{% bootstrap_field form.name layout="horizontal" %}
|
{% bootstrap_field form.name layout="horizontal" %}
|
||||||
{% bootstrap_field form.description layout="horizontal" %}
|
{% bootstrap_field form.description layout="horizontal" %}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-12 col-lg-2">
|
{% if category %}
|
||||||
<div class="panel panel-default">
|
<div class="col-xs-12 col-lg-2">
|
||||||
<div class="panel-heading">
|
<div class="panel panel-default">
|
||||||
<h3 class="panel-title">
|
<div class="panel-heading">
|
||||||
{% trans "Category history" %}
|
<h3 class="panel-title">
|
||||||
</h3>
|
{% trans "Category history" %}
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
{% include "pretixcontrol/includes/logs.html" with obj=category %}
|
||||||
</div>
|
</div>
|
||||||
{% include "pretixcontrol/includes/logs.html" with obj=category %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group submit-group">
|
<div class="form-group submit-group">
|
||||||
<button type="submit" class="btn btn-primary btn-save">
|
<button type="submit" class="btn btn-primary btn-save">
|
||||||
|
|||||||
Reference in New Issue
Block a user