Przeglądaj źródła

11178 fix quick search press enter button

Arthur 3 lat temu
rodzic
commit
c59d527664
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      netbox/templates/generic/object_list.html

+ 3 - 3
netbox/templates/generic/object_list.html

@@ -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 %}" />