mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
WIP: contexts page mostly working
This commit is contained in:
parent
eac798d0bf
commit
acad0596be
9 changed files with 104 additions and 86 deletions
4
app/views/contexts/edit.js.rjs
Normal file
4
app/views/contexts/edit.js.rjs
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue