Sha256: 0ca4c337f0b474aebaabe12af397b7bd41eb7b7acbde2eec101b987fc4eb2031

Contents?: true

Size: 308 Bytes

Versions: 33

Compression:

Stored size: 308 Bytes

Contents

if @group.errors.empty?
  page.insert_html :before, 'add_group', :partial=>'groups/li', :collection=>[@group]
  @group = Group.new
  page.replace_html 'add_group_form', :partial=>'groups/form'
  page.javascript "$('group_name').focus();"
else
  page.replace_html 'add_group_form', :partial=>'groups/form'
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
zena-1.2.8 app/views/groups/create.rjs
zena-1.2.7 app/views/groups/create.rjs
zena-1.2.6 app/views/groups/create.rjs
zena-1.2.5 app/views/groups/create.rjs
zena-1.2.4 app/views/groups/create.rjs
zena-1.2.3 app/views/groups/create.rjs
zena-1.2.2 app/views/groups/create.rjs
zena-1.2.1 app/views/groups/create.rjs
zena-1.2.0 app/views/groups/create.rjs
zena-1.1.3 app/views/groups/create.rjs
zena-1.1.2 app/views/groups/create.rjs
zena-1.1.1 app/views/groups/create.rjs
zena-1.1.0 app/views/groups/create.rjs
zena-1.0.0 app/views/groups/create.rjs
zena-1.0.0.rc3 app/views/groups/create.rjs
zena-1.0.0.rc2 app/views/groups/create.rjs
zena-1.0.0.rc1 app/views/groups/create.rjs
zena-0.16.9 app/views/groups/create.rjs
zena-1.0.0.beta3 app/views/groups/create.rjs
zena-0.16.8 app/views/groups/create.rjs