mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-14 03:14:22 +01:00
Autocompletion for predecessors working
This commit is contained in:
parent
d0a5f6b731
commit
71b0e188c1
5 changed files with 7 additions and 15 deletions
|
|
@ -53,12 +53,6 @@
|
|||
|
||||
<label for="predecessor_list">Depends on</label>
|
||||
<%= text_field_tag "predecessor_list", nil, :size => 30, :tabindex => 8 %>
|
||||
<%= content_tag("div", "", :id => "predecessor_list_auto_complete", :class => "auto_complete") %>
|
||||
<%= auto_complete_field 'predecessor_list', {
|
||||
:url => {:controller => 'todos', :action => 'auto_complete_for_predecessor', :id => nil},
|
||||
:tokens => [',']
|
||||
} %>
|
||||
|
||||
<%= source_view_tag( @source_view ) %>
|
||||
<%= hidden_field_tag :_tag_name, @tag_name.underscore.gsub(/\s+/,'_') if source_view_is :tag %>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue