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>

 

相关文章

Bootstrip HTML 查询搜索常用格式模版 &lt;form class=&...
如何在按钮上加红色数字 您可以使用Bootstrap的badge组件来在...
要让两个按钮左右排列,你可以使用 Bootstrap 的网格系统将它...
是的,可以将status设置为布尔类型,这样可以在前端使用复选...
前端工程师一般用的是Bootstrap的框架而不是样式,样式一般自...
起步导入:<linkrel="stylesheet"href="b...