WIP: contexts page mostly working

This commit is contained in:
Eric Allen 2009-10-02 19:45:49 -04:00
parent eac798d0bf
commit acad0596be
9 changed files with 104 additions and 86 deletions

View file

@ -0,0 +1,4 @@
page[dom_id(@context, 'edit')].replace_html :partial => 'context_form', :locals => { :context_form => @context }
page[@context].hide
page[dom_id(@context, 'edit')].show
page[dom_id(@context, 'edit_form')].find('input.context-name').focus