Sha256: e5b8521faedef6f9a2df25bd8dc5681f19d609e7942c30ca96027458a828037d

Contents?: true

Size: 315 Bytes

Versions: 12

Compression:

Stored size: 315 Bytes

Contents

<%= render :super %>
<% config = active_scaffold_config_for(@column.association.klass) %>
<% if config.actions.include? :sortable %>
ActiveScaffold.update_positions('<%= sub_form_list_id(:association => @column.name) %>');
ActiveScaffold.sortable('<%= sub_form_list_id(:association => @column.name) %>');
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
active_scaffold_sortable-3.2.11 app/views/active_scaffold_overrides/edit_associated.js.erb
active_scaffold_sortable-3.2.10 app/views/active_scaffold_overrides/edit_associated.js.erb
active_scaffold_sortable-3.2.9 app/views/active_scaffold_overrides/edit_associated.js.erb
active_scaffold_sortable-3.2.8 app/views/active_scaffold_overrides/edit_associated.js.erb
active_scaffold_sortable-3.2.7 app/views/active_scaffold_overrides/edit_associated.js.erb
active_scaffold_sortable-3.2.6 app/views/active_scaffold_overrides/edit_associated.js.erb
active_scaffold_sortable-3.2.5 app/views/active_scaffold_overrides/edit_associated.js.erb
active_scaffold_sortable-3.2.4 app/views/active_scaffold_overrides/edit_associated.js.erb
active_scaffold_sortable-3.2.3 app/views/active_scaffold_overrides/edit_associated.js.erb
active_scaffold_sortable-3.2.2 app/views/active_scaffold_overrides/edit_associated.js.erb
active_scaffold_sortable-3.2.1 app/views/active_scaffold_overrides/edit_associated.js.erb
active_scaffold_sortable-3.2.0 app/views/active_scaffold_overrides/edit_associated.js.erb