added is_pushed and some "styling"

This commit is contained in:
Holger Sielaff
2024-07-13 10:19:49 +02:00
parent 3640ab759d
commit e7b2dff233
7 changed files with 24 additions and 13 deletions

View File

@@ -2,10 +2,10 @@
{% block content %}
<form action="/questions" method="get" id="search_q_form">
<div id="question-search-field" class="row mb-5 mt-5">
<div class="col-12">
<div class="form-group">
<div class="col-12 p-0">
<div class="form-group border rounded p-3 bg-secondary">
<div class="input-group">
{% csrf_token %}
{# {% csrf_token %} #}
<input type="text" name="term" class="form-control p-2 bg-light" placeholder="Search for ..." value="{{ request.GET.term }}" />
<span class="input-group-text">
<i class="fa fa-search" onclick="document.getElementById('search_q_form').submit();"></i>