Skip to content

Commit

Permalink
Fixes [bborn#17], tags should be space separated or in quoted strings
Browse files Browse the repository at this point in the history
[bborn#17 state:resolved]
  • Loading branch information
Bruno Bornsztein committed Jul 21, 2008
1 parent 9fe610d commit 7fa34c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/clippings/new_clipping.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@

%label
Tags
%em (optional keywords describing this post, separated by commas)
%em="(optional keywords describing this post, separated by spaces)".l :tag_tips
\:

= text_field_tag 'tag_list', @post.tags.collect{|t| t.name}.join(", "), {:autocomplete => "off", :size => 35, :id => 'post_tag_list'}
Expand Down
2 changes: 1 addition & 1 deletion app/views/posts/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

%label
Tags
%em (optional keywords describing this post, separated by commas)
%em="(optional keywords describing this post, separated by spaces)".l :tag_tips
= text_field_tag 'tag_list', @post.tags.collect{|t| t.name}.join(", "), {:autocomplete => "off", :size => 35}
.auto_complete#tag_list_auto_complete
= auto_complete_field 'tag_list', {:url => { :controller => "tags", :action => 'auto_complete_for_tag_name'}, :tokens => [',', ' '] }
Expand Down

0 comments on commit 7fa34c2

Please sign in to comment.