Sha256: 35e71515605727160c4fe13180e6f9cc39dd4b554903f4ffa1e8cb44279a8f1e
Contents?: true
Size: 817 Bytes
Versions: 49
Compression:
Stored size: 817 Bytes
Contents
<% associated_form = render :partial => "form_association_record", :object => @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, column_scope(@column, @scope, @record))[:id] end end %> ActiveScaffold.create_associated_record_form('<%=sub_form_list_id(:association => @column.name, :id => @parent_record.id || generated_id(@parent_record) || 99999999999)%>','<%=escape_javascript(associated_form)%>', <%= options.to_json.html_safe %>);
Version data entries
49 entries across 49 versions & 1 rubygems