Sha256: 538e2b8345a20198fdc94686d962ec4bfeb2072bd91c93b824293c7c111156ae

Contents?: true

Size: 244 Bytes

Versions: 19

Compression:

Stored size: 244 Bytes

Contents

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
zena-1.0.0.rc3 app/views/virtual_classes/update.rjs
zena-1.0.0.rc2 app/views/virtual_classes/update.rjs
zena-1.0.0.rc1 app/views/virtual_classes/update.rjs
zena-0.16.9 app/views/virtual_classes/update.rjs
zena-1.0.0.beta3 app/views/virtual_classes/update.rjs
zena-0.16.8 app/views/virtual_classes/update.rjs
zena-1.0.0.beta2 app/views/virtual_classes/update.rjs
zena-1.0.0.beta1 app/views/virtual_classes/update.rjs
zena-0.16.7 app/views/virtual_classes/update.rjs
zena-0.16.6 app/views/virtual_classes/update.rjs
zena-0.16.5 app/views/virtual_classes/update.rjs
zena-0.16.4 app/views/virtual_classes/update.rjs
zena-0.16.3 app/views/virtual_classes/update.rjs
zena-0.16.2 app/views/virtual_classes/update.rjs
zena-0.16.1 app/views/virtual_classes/update.rjs
zena-0.16.0 app/views/virtual_classes/update.rjs
zena-0.15.2 app/views/virtual_classes/update.rjs
zena-0.15.1 app/views/virtual_classes/update.rjs
zena-0.15.0 app/views/virtual_classes/update.rjs