mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Merge pull request #9700 from PieterL75/issue9656_journalviewlayout
Fixes: #9656 Re-order journal list and form
This commit is contained in:
commit
dde005366a
@ -5,11 +5,19 @@
|
|||||||
{% render_errors form %}
|
{% render_errors form %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-body table-responsive">
|
||||||
|
{% render_table table 'inc/table.html' %}
|
||||||
|
{% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% if perms.extras.add_journalentry %}
|
{% if perms.extras.add_journalentry %}
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-body table-responsive">
|
||||||
|
<h4 class="card-header">New Journal Entry</h4>
|
||||||
<form action="{% url 'extras:journalentry_add' %}" method="post" enctype="multipart/form-data">
|
<form action="{% url 'extras:journalentry_add' %}" method="post" enctype="multipart/form-data">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="field-group">
|
<div class="field-group">
|
||||||
<h4>New Journal Entry</h4>
|
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% render_form form %}
|
{% render_form form %}
|
||||||
</div>
|
</div>
|
||||||
@ -19,11 +27,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="card">
|
|
||||||
<div class="card-body table-responsive">
|
|
||||||
{% render_table table 'inc/table.html' %}
|
|
||||||
{% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user