Sha256: 2608f15e48b369e50132c21b87eb8a1463638d0b3a4998e5620339c46c6cb153

Contents?: true

Size: 415 Bytes

Versions: 32

Compression:

Stored size: 415 Bytes

Contents

<div class="order">
  <%= link_to(
      I18n.t("datagrid.table.order.asc").html_safe,
      url_for(grid.param_name => grid.as_query.merge(:order => column.name, :descending => false)),
      :class => "asc") %>
  <%= link_to(
      I18n.t("datagrid.table.order.desc").html_safe,
      url_for(grid.param_name => grid.as_query.merge(:order => column.name, :descending => true )),
      :class => "desc") %>
</div>

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
datagrid-1.5.4 app/views/datagrid/_order_for.html.erb
datagrid-1.5.3 app/views/datagrid/_order_for.html.erb
datagrid-1.5.2 app/views/datagrid/_order_for.html.erb
datagrid-1.5.1 app/views/datagrid/_order_for.html.erb
datagrid-1.5.0 app/views/datagrid/_order_for.html.erb
datagrid-1.4.4 app/views/datagrid/_order_for.html.erb
datagrid-1.4.3 app/views/datagrid/_order_for.html.erb
datagrid-1.4.2 app/views/datagrid/_order_for.html.erb
datagrid-1.4.1 app/views/datagrid/_order_for.html.erb
datagrid-1.4.0 app/views/datagrid/_order_for.html.erb
datagrid-1.3.9 app/views/datagrid/_order_for.html.erb
datagrid-1.3.7 app/views/datagrid/_order_for.html.erb
datagrid-1.3.6 app/views/datagrid/_order_for.html.erb
datagrid-1.3.5 app/views/datagrid/_order_for.html.erb
datagrid-1.3.4 app/views/datagrid/_order_for.html.erb
datagrid-1.3.3 app/views/datagrid/_order_for.html.erb
datagrid-1.3.2 app/views/datagrid/_order_for.html.erb
datagrid-1.3.1 app/views/datagrid/_order_for.html.erb
datagrid-1.3.0 app/views/datagrid/_order_for.html.erb
datagrid-1.2.3 app/views/datagrid/_order_for.html.erb