Sha256: 6299921882f04aa3d8487ccc414bacffd17a0127846c6904c471b922f90d498c

Contents?: true

Size: 249 Bytes

Versions: 14

Compression:

Stored size: 249 Bytes

Contents

if @virtual_class.errors.empty?
  page.replace "virtual_class#{@virtual_class[:id]}", :partial=>"virtual_classes/li", :collection=>[@virtual_class]
else
  page.replace_html "virtual_class#{@virtual_class[:id]}", :partial=>"virtual_classes/form"
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
zena-1.2.8 app/views/virtual_classes/update.rjs
zena-1.2.7 app/views/virtual_classes/update.rjs
zena-1.2.6 app/views/virtual_classes/update.rjs
zena-1.2.5 app/views/virtual_classes/update.rjs
zena-1.2.4 app/views/virtual_classes/update.rjs
zena-1.2.3 app/views/virtual_classes/update.rjs
zena-1.2.2 app/views/virtual_classes/update.rjs
zena-1.2.1 app/views/virtual_classes/update.rjs
zena-1.2.0 app/views/virtual_classes/update.rjs
zena-1.1.3 app/views/virtual_classes/update.rjs
zena-1.1.2 app/views/virtual_classes/update.rjs
zena-1.1.1 app/views/virtual_classes/update.rjs
zena-1.1.0 app/views/virtual_classes/update.rjs
zena-1.0.0 app/views/virtual_classes/update.rjs