.
This commit is contained in:
@@ -6,17 +6,22 @@
|
||||
{% csrf_token %}
|
||||
{{ form.non_field_errors }}
|
||||
|
||||
{{user}}
|
||||
<div class="fieldWrapper">
|
||||
{{ form.content_type.errors }}
|
||||
<label for="{{ form.content_type.id_for_label }}">Content Type</label>
|
||||
{{ form.content_type }}
|
||||
</div>
|
||||
{% if user %}
|
||||
User: {{user}}
|
||||
{% else %}
|
||||
<div class="fieldWrapper">
|
||||
{{ form.author.errors }}
|
||||
<label for="{{ form.author.id_for_label }}">Author</label>
|
||||
{{ form.author }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<div class="fieldWrapper">
|
||||
{{ form.content_type.errors }}
|
||||
<label for="{{ form.content_type.id_for_label }}">Content Type</label>
|
||||
{{ form.content_type }}
|
||||
</div>
|
||||
<div class="fieldWrapper">
|
||||
{{ form.object_id.errors }}
|
||||
<label for="{{ form.object_id.id_for_label }}">Object id</label>
|
||||
|
||||
Reference in New Issue
Block a user