Update base.html markup

This commit is contained in:
Roman Mogylatov 2020-07-20 15:44:33 -04:00
parent b979de623b
commit d2a25ce9f4

View File

@ -9,14 +9,18 @@
<form> <form>
<div class="form-group form-row"> <div class="form-group form-row">
<div class="col-10"> <div class="col-10">
<label for="search_query" class="col-form-label">Search for:</label> <label for="search_query" class="col-form-label">
Search for:
</label>
<input class="form-control" type="text" id="search_query" <input class="form-control" type="text" id="search_query"
placeholder="Type something to search on the GitHub" placeholder="Type something to search on the GitHub"
name="query" name="query"
value="{{ query if query }}"> value="{{ query if query }}">
</div> </div>
<div class="col"> <div class="col">
<label for="search_limit" class="col-form-label">Limit:</label> <label for="search_limit" class="col-form-label">
Limit:
</label>
<select class="form-control" id="search_limit" name="limit"> <select class="form-control" id="search_limit" name="limit">
{% for value in [5, 10, 20] %} {% for value in [5, 10, 20] %}
<option {% if value == limit %}selected{% endif %}> <option {% if value == limit %}selected{% endif %}>