Sha256: f0944820e2b1f994c5541d3f8dfb1fcd96ff4de223d43561b5a19ac696003a86
Contents?: true
Size: 741 Bytes
Versions: 5
Compression:
Stored size: 741 Bytes
Contents
@options = { :scaffold_id => params[:scaffold_id], :action => "create"+@suffix, :id => generate_temporary_id } @new_options = @options.merge(:action => "new"+@suffix, :id => nil) if @successful page.insert_html :top, scaffold_tbody_id(@options), :partial => scaffold_partial_path('new_edit') page.show element_row_id(@options) page << "Form.focusFirstElement('#{element_form_id(@options)}');" page.visual_effect :highlight, element_cell_id(@options) page.replace_html element_messages_id(@options), :partial => scaffold_partial_path('form_messages') else page.replace_html scaffold_messages_id(@options), :partial => scaffold_partial_path('messages') end page.hide loading_indicator_id(@new_options), empty_message_id(@options)
Version data entries
5 entries across 5 versions & 1 rubygems