Sha256: 2205710cc0868b02d92fe8f561c3c5f6059466ed00343ae06923a3a871b9a1ed
Contents?: true
Size: 385 Bytes
Versions: 13
Compression:
Stored size: 385 Bytes
Contents
if @virtual_class.errors.empty? page.insert_html :before, 'add_virtual_class', :partial=>'virtual_classes/li', :collection=>[@virtual_class] @virtual_class = VirtualClass.new page.replace_html 'add_virtual_class_form', :partial=>'virtual_classes/form' page << "$('virtual_class_name').focus();" else page.replace 'add_virtual_class_form', :partial=>'virtual_classes/form' end
Version data entries
13 entries across 13 versions & 1 rubygems