1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

11178 fix quick search press enter button

This commit is contained in:
Arthur
2022-12-14 11:58:44 -08:00
committed by Jeremy Stretch
parent 77423e7bb1
commit c59d527664

View File

@@ -70,6 +70,9 @@ Context:
{% applied_filters model filter_form request.GET %} {% applied_filters model filter_form request.GET %}
{% endif %} {% endif %}
{# Object table controls #}
{% include 'inc/table_controls_htmx.html' with table_modal="ObjectTable_config" %}
<form method="post" class="form form-horizontal"> <form method="post" class="form form-horizontal">
{% csrf_token %} {% csrf_token %}
{# "Select all" form #} {# "Select all" form #}
@@ -96,9 +99,6 @@ Context:
</div> </div>
{% endif %} {% endif %}
{# Object table controls #}
{% include 'inc/table_controls_htmx.html' with table_modal="ObjectTable_config" %}
<div class="form form-horizontal"> <div class="form form-horizontal">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="return_url" value="{% if return_url %}{{ return_url }}{% else %}{{ request.path }}{% if request.GET %}?{{ request.GET.urlencode }}{% endif %}{% endif %}" /> <input type="hidden" name="return_url" value="{% if return_url %}{{ return_url }}{% else %}{{ request.path }}{% if request.GET %}?{{ request.GET.urlencode }}{% endif %}{% endif %}" />