selected
This commit is contained in:
parent
22d303580f
commit
805850a8cb
|
@ -29,14 +29,14 @@ No of results: {{ no_of_results }} displaying page {{ page }} of {{ no_of
|
||||||
<form id="shipFilterForm" action="" method="GET">
|
<form id="shipFilterForm" action="" method="GET">
|
||||||
<label for="id_sort">Sort By:</label>
|
<label for="id_sort">Sort By:</label>
|
||||||
<select id="id_sort" name="sort">
|
<select id="id_sort" name="sort">
|
||||||
<option value="number" {% ifequal params.sort "number" %}>Ship Number Ascending</option>
|
<option value="number" {% ifequal params.sort "number" %} selected="selected" {% endifequal %}>Ship Number Ascending</option>
|
||||||
<option value="-number" {% ifequal params.sort "-number" %}>Ship Number Descending</option>
|
<option value="-number" {% ifequal params.sort "-number" %} selected="selected" {% endifequal %}>Ship Number Descending</option>
|
||||||
<option value="date" {% ifequal params.sort "date" %}>Date Ascending</option>
|
<option value="date" {% ifequal params.sort "date" %} selected="selected" {% endifequal %}>Date Ascending</option>
|
||||||
<option value="-date" {% ifequal params.sort "-date" %}>Date Descending</option>
|
<option value="-date" {% ifequal params.sort "-date" %} selected="selected" {% endifequal %}>Date Descending</option>
|
||||||
<option value="ship_name_trans" {% ifequal params.sort "ship_name_trans" %}>Ship Name Ascending</option>
|
<option value="ship_name_trans" {% ifequal params.sort "ship_name_trans" %} selected="selected" {% endifequal %}>Ship Name Ascending</option>
|
||||||
<option value="-ship_name_trans" {% ifequal params.sort "-ship_name_trans" %}>Ship Name Descending</option>
|
<option value="-ship_name_trans" {% ifequal params.sort "-ship_name_trans" %} selected="selected" {% endifequal %}>Ship Name Descending</option>
|
||||||
<option value="port" {% ifequal params.sort "port" %}>Port Name Ascending</option>
|
<option value="port" {% ifequal params.sort "port" %} selected="selected" {% endifequal %}>Port Name Ascending</option>
|
||||||
<option value="-port" {% ifequal params.sort "-port" %}>Port Name Descending</option>
|
<option value="-port" {% ifequal params.sort "-port" %} selected="selected" {% endifequal %}>Port Name Descending</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<label for="id_start_date">Start Date:</label>
|
<label for="id_start_date">Start Date:</label>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user