Sha256: 136851a577d7cb64cf3c03b389fa7d29adca79f7ca0f909fc6f9631760994627
Contents?: true
Size: 471 Bytes
Versions: 2
Compression:
Stored size: 471 Bytes
Contents
<%= render :super %> <% if ActiveScaffold.js_framework == :prototype %> <%= sortable_element *sort_params %> <% elsif ActiveScaffold.js_framework == :jquery %> <% reorder_params = {} reorder_params[:eid] = params[:eid] unless params[:eid].blank? options = {:update => true, :action => 'reorder'} %> <%= javascript_tag "ActiveScaffold.sortable('#{sort_params[0]}', #{controller_name.to_json}, #{options.to_json}, #{reorder_params.to_json});" %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_scaffold_sortable_vho-3.0.1 | frontends/default/views/_list_with_header.html.erb |
active_scaffold_sortable_vho-3.0.0 | frontends/default/views/_list_with_header.html.erb |