<!-- sort: @sort,order:@order,current:"created_on" --> <% if sort == current %> <% if order =="asc" %> ↑ <% elsif order == "desc" %> ↓ <% else %> <% end %> <% end %>