Created
May 24, 2011 15:51
-
-
Save joemsak/988968 to your computer and use it in GitHub Desktop.
Using jQuery TokenInput with ActsAsTaggableOn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class='field'> | |
<%= f.label :tag_list, "Tags" %> | |
<%= f.text_field :tag_list, :class => 'larger widest', :"data-pre" => @model.tags.map(&:attributes).to_json %> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment