Sha256: 4b87f3a6c57fa2fd10bb20de47bd072c571677b12fe7b82679af8816f5633210
Contents?: true
Size: 495 Bytes
Versions: 2
Compression:
Stored size: 495 Bytes
Contents
<div class="order"> <%= link_to( I18n.t("datagrid.table.order.asc", :default => "↑".html_safe).html_safe, url_for(grid.param_name => grid.attributes.merge(:order => column.name, :descending => false)), :class => "order asc") %> <%= link_to( I18n.t("datagrid.table.order.desc", :default => "↓".html_safe).html_safe, url_for(grid.param_name => grid.attributes.merge(:order => column.name, :descending => true )), :class => "order desc") %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datagrid-0.8.1 | app/views/datagrid/_order_for.html.erb |
datagrid-0.8.0 | app/views/datagrid/_order_for.html.erb |