mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
fix journal layout
This commit is contained in:
@ -7,23 +7,23 @@
|
||||
|
||||
{% block content %}
|
||||
{% if perms.extras.add_journalentry %}
|
||||
<form action="{% url 'extras:journalentry_add' %}" method="post" enctype="multipart/form-data">
|
||||
<div class="col-md-9 col-md-offset-3">
|
||||
<div class="field-group">
|
||||
<h4>New Journal Entry</h4>
|
||||
<form action="{% url 'extras:journalentry_add' %}" method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
{% for field in form.hidden_fields %}
|
||||
{{ field }}
|
||||
{% endfor %}
|
||||
{% render_field form.kind %}
|
||||
{% render_field form.comments %}
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-md-12 col-md-offset-3 text-end my-3">
|
||||
<a href="{{ object.get_absolute_url }}" class="btn btn-outline-danger">Cancel</a>
|
||||
<button type="submit" class="btn btn-primary">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{% endif %}
|
||||
<div class="col-md-9 col-md-offset-3 mb-3">
|
||||
{% include 'panel_table.html' %}
|
||||
|
Reference in New Issue
Block a user