Sha256: 4e8e1067d3ff777fdf125cefdece12dc55e8b67eeec77842a516bbabb934150b
Contents?: true
Size: 712 Bytes
Versions: 24
Compression:
Stored size: 712 Bytes
Contents
<% associated_form = render :partial => "#{subform_partial_for_column(@column)}_record", :locals => {:scope => @scope, :parent_record => @parent_record, :column => @column, :locked => @record.new_record? && @column.singular_association?} options = {:singular => false} if @column.singular_association? options[:singular] = true else unless @record.new_record? column = active_scaffold_config_for(@record.class).columns[@record.class.primary_key] options[:id] = active_scaffold_input_options(column, @scope)[:id] end end %> ActiveScaffold.create_associated_record_form('<%=sub_form_list_id(:association => @column.name)%>','<%=escape_javascript(associated_form)%>', <%=options.to_json.html_safe%>);
Version data entries
24 entries across 24 versions & 1 rubygems