Sha256: 540a207a0feefe6c3cf0ae9f70cfa902df1f4b294e11f4f0a648b4f76ac39f5e

Contents?: true

Size: 418 Bytes

Versions: 7

Compression:

Stored size: 418 Bytes

Contents

<% config = active_scaffold_config_for(column.association.klass) %>
<% if config.actions.include? :sortable %>
<%= content_tag :div, render(:super), :class => 'sortable-container', :data => sort_params(config).merge(:tag => "##{sub_form_list_id(:association => column.name, :id => parent_record.try(:id) || generated_id(parent_record) || 99999999999)} > .sub-form-record") %>
<% else %>
<%= render :super %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_scaffold_sortable-3.5.0 app/views/active_scaffold_overrides/_form_association.html.erb
active_scaffold_sortable-3.4.0 app/views/active_scaffold_overrides/_form_association.html.erb
active_scaffold_sortable-3.3.10 app/views/active_scaffold_overrides/_form_association.html.erb
active_scaffold_sortable-3.3.8 app/views/active_scaffold_overrides/_form_association.html.erb
active_scaffold_sortable-3.3.7 app/views/active_scaffold_overrides/_form_association.html.erb
active_scaffold_sortable-3.3.6 app/views/active_scaffold_overrides/_form_association.html.erb
active_scaffold_sortable-3.3.5 app/views/active_scaffold_overrides/_form_association.html.erb