mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
5 lines
238 B
Text
5 lines
238 B
Text
|
|
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
|