This commit is contained in:
Sanj 2012-04-22 17:37:30 +05:30
parent 22d303580f
commit 805850a8cb

View File

@ -29,14 +29,14 @@ No of results: {{ no_of_results }}   displaying page {{ page }} of {{ no_of
<form id="shipFilterForm" action="" method="GET">
<label for="id_sort">Sort By:</label>
<select id="id_sort" name="sort">
<option value="number" {% ifequal params.sort "number" %}>Ship Number Ascending</option>
<option value="-number" {% ifequal params.sort "-number" %}>Ship Number Descending</option>
<option value="date" {% ifequal params.sort "date" %}>Date Ascending</option>
<option value="-date" {% ifequal params.sort "-date" %}>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" %}>Ship Name Descending</option>
<option value="port" {% ifequal params.sort "port" %}>Port Name Ascending</option>
<option value="-port" {% ifequal params.sort "-port" %}>Port Name Descending</option>
<option value="number" {% ifequal params.sort "number" %} selected="selected" {% endifequal %}>Ship Number Ascending</option>
<option value="-number" {% ifequal params.sort "-number" %} selected="selected" {% endifequal %}>Ship Number Descending</option>
<option value="date" {% ifequal params.sort "date" %} selected="selected" {% endifequal %}>Date Ascending</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" %} selected="selected" {% endifequal %}>Ship Name Ascending</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" %} selected="selected" {% endifequal %}>Port Name Ascending</option>
<option value="-port" {% ifequal params.sort "-port" %} selected="selected" {% endifequal %}>Port Name Descending</option>
</select>
<label for="id_start_date">Start Date:</label>