Sha256: 1eea9617d8cc98476c0c11f4ccb51f5c9d782777cccbf119e0f22dbedff9c3b5

Contents?: true

Size: 454 Bytes

Versions: 29

Compression:

Stored size: 454 Bytes

Contents

<div class="order">
  <p>Namespaced order_for partial.</p>
  <%= 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

29 entries across 29 versions & 1 rubygems

Version Path
datagrid-1.6.0 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.5.9 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.5.8 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.5.7 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.5.6 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.5.5 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.5.4 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.5.3 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.5.2 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.5.1 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.5.0 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.4.4 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.4.3 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.4.2 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.4.1 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.4.0 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.3.9 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.3.7 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.3.6 spec/support/test_partials/client/datagrid/_order_for.html.erb
datagrid-1.3.5 spec/support/test_partials/client/datagrid/_order_for.html.erb