mirror of
https://github.com/aykhans/series-robot-web.git
synced 2025-09-09 07:40:45 +00:00
Fixed type radio buttons
This commit is contained in:
@@ -14,12 +14,24 @@
|
||||
<button class="btn btn-outline-success my-2 my-sm-0 ml-2" type="submit">Search</button>
|
||||
</div>
|
||||
<br>
|
||||
<input id="all" name="type" type="radio" checked>
|
||||
<label for="all" style="margin-right: 1.5rem;">All</label>
|
||||
<input id="watched" name="type" type="radio" value="watched">
|
||||
<label for="watched" style="margin-right: 1.5rem;">Watched</label>
|
||||
<input id="unwatched" name="type" type="radio" value="unwatched">
|
||||
<label for="unwatched">Unwatched</label>
|
||||
{% if type == "all" %}
|
||||
<input id="all" name="type" type="radio" value="all" checked>
|
||||
{% else %}
|
||||
<input id="all" name="type" type="radio" value="all">
|
||||
{% endif %}
|
||||
<label for="all" style="margin-right: 1.5rem;">All</label>
|
||||
{% if type == "watched" %}
|
||||
<input id="watched" name="type" type="radio" value="watched" checked>
|
||||
{% else %}
|
||||
<input id="watched" name="type" type="radio" value="watched">
|
||||
{% endif %}
|
||||
<label for="watched" style="margin-right: 1.5rem;">Watched</label>
|
||||
{% if type == "unwatched" %}
|
||||
<input id="unwatched" name="type" type="radio" value="unwatched" checked>
|
||||
{% else %}
|
||||
<input id="unwatched" name="type" type="radio" value="unwatched">
|
||||
{% endif %}
|
||||
<label for="unwatched">Unwatched</label>
|
||||
</form>
|
||||
|
||||
<table class="table">
|
||||
|
Reference in New Issue
Block a user