Bootstrip HTML 查询搜索常用格式模版
Bootstrip HTML 查询搜索常用格式模版
<form class="form-inline my-3 d-flex align-items-center justify-content-start" method="get" action="{% url 'repair:repair_unaccepted' %}"> <div class="form-group mr-2 flex-grow-1"> <label for="search_query" class="sr-only"></label> <input type="text" class="form-control" id="search_query" name="search_query" placeholder="提报单号\标题\内容" value="{{ request.GET.search_query }}"> </div> <div class="form-group"> <button type="submit" class="btn btn-primary btn-sm" style="height: 34px;">搜索</button> </div> </form>