Order by to sort

This commit is contained in:
Sanj 2011-10-21 02:57:31 +01:00
parent 6f8e805ec0
commit ff2bdf3bbb

View File

@ -94,7 +94,7 @@
</div> </div>
{% endfor %} {% endfor %}
<!--is this select okay, my forms are a bit weak, do we need action and method here?--><form class="selectMenu" id="listForm" method="post" action=""> <!--is this select okay, my forms are a bit weak, do we need action and method here?--><form class="selectMenu" id="listForm" method="post" action="">
<span>Order by</span><!--Can i avoid a p tag here to keep it inline--> <span>Sort:</span><!--Can i avoid a p tag here to keep it inline -->
<select id="orderBySelect">Select <select id="orderBySelect">Select
{% for s in default_sorts %} {% for s in default_sorts %}
<option value="{{s.operator}}{{s.field_name}}">{{s.friendly_name}}</option> <option value="{{s.operator}}{{s.field_name}}">{{s.friendly_name}}</option>