Sha256: 59fb94b4350573d6e61774a274c52f1024fc24e90db5bc7b2d858cdc1f52fde1
Contents?: true
Size: 464 Bytes
Versions: 10
Compression:
Stored size: 464 Bytes
Contents
<th> <%= column.header %> <% table_params = (params[column.table.as] || {}) %> <% if column.show_sort? %> <%= link_to 'A', url_for(params.merge(column.table.as => table_params.merge({sort: column.name.to_s, dir: 'asc'}))) %><% if column.is_sorted?('asc') %>*<% end %> <%= link_to 'D', url_for(params.merge(column.table.as => table_params.merge({sort: column.name.to_s, dir: 'desc'}))) %><% if column.is_sorted?('desc') %>*<% end %> <% end %> </th>
Version data entries
10 entries across 6 versions & 1 rubygems