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

Search form improvements

This commit is contained in:
Jeremy Stretch
2017-03-29 14:22:27 -04:00
parent afdb24610d
commit d04436aa0a
4 changed files with 46 additions and 54 deletions

View File

@@ -2,15 +2,7 @@
{% load render_table from django_tables2 %}
{% block content %}
<div class="row home-search" style="padding: 15px 0px 20px">
<div class="col-md-12 text-right">
<form action="{% url 'search' %}" method="get" class="form form-inline">
{{ search_form.q }}
{{ search_form.obj_type }}
<button type="submit" class="btn btn-primary">Search</button>
</form>
</div>
</div>
{% include 'search_form.html' %}
<div class="row">
<div class="col-sm-6 col-md-4">
<div class="panel panel-default">