Sha256: 8ab73efc609b62fbd3f28fcf175491faa379c2a8d591eea2aed1eea0dd906710

Contents?: true

Size: 317 Bytes

Versions: 13

Compression:

Stored size: 317 Bytes

Contents

if @iformat.errors.empty?
  page.insert_html :before, 'add_iformat', :partial=>'iformats/li', :collection=>[@iformat]
  @iformat = Iformat.new
  page.replace_html 'add_iformat_form', :partial=>'iformats/form'
  page << "$('iformat_name').focus();"
else
  page.replace 'add_iformat_form', :partial=>'iformats/form'
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
zena-0.16.9 app/views/iformats/create.rjs
zena-0.16.8 app/views/iformats/create.rjs
zena-0.16.7 app/views/iformats/create.rjs
zena-0.16.6 app/views/iformats/create.rjs
zena-0.16.5 app/views/iformats/create.rjs
zena-0.16.4 app/views/iformats/create.rjs
zena-0.16.3 app/views/iformats/create.rjs
zena-0.16.2 app/views/iformats/create.rjs
zena-0.16.1 app/views/iformats/create.rjs
zena-0.16.0 app/views/iformats/create.rjs
zena-0.15.2 app/views/iformats/create.rjs
zena-0.15.1 app/views/iformats/create.rjs
zena-0.15.0 app/views/iformats/create.rjs