search for: tag_form

Displaying 4 results from an estimated 4 matches for "tag_form".

2010 Feb 06
1
accepts_nested_attributes_for with has_many => :through
...<%= f.error_messages %> <p> <%= f.label :uri %><br /> <%= f.text_field :uri %> </p> <p> <%= f.label :title %><br /> <%= f.text_field :title %> </p> <h2>Tags</h2> <% f.fields_for :tags do |tag_form| %> <p> <%= tag_form.label :name, ''Tag:'' %> <%= tag_form.text_field :name %> </p> <% unless tag_form.object.nil? || tag_form.object.new_record? %> <p> <%= tag_form.label :_delete, ''Remove:'' %> &...
2008 Dec 10
3
rspecing rjs - form.reset(''form'')
Hello, > > I couldn''t find much info on this. > > How do you rspec this: page.form.reset("form") > > I looked in the have_rjs source code and I can''t find anything on form > reset. > > Thanks, > > -- > Andrei > -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 31
4
javascript help
Hi list, I have a list of tags. I want to be able to click on a tag and have that tag name populate an input field. I think delicious used to allow you to click on existing links to tag your bookmark similar to this (moving instead to auto_complete). My guess is the code looks something like this.... <form> <input type="text" name="all" id="discover"
2010 Jan 07
1
text field with autocomplete
...ms[:tag][:name]}%"]) render :inline => "<%= auto_complete_result(@tag, ''name'') %>" end *** posts NEW and EDIT view *** <div id="add_tag"> <% form_remote_tag( :url => {:controller => :tags}, :html => {:id => ''tag_form''}) do %> Name: <%= text_field_with_auto_complete :tag, :name, {:min_chars => 2, :class => "text"} %> <%= submit_tag ''Add'' %> <% end %> </div> Thank for your help. Cheer Pete -- Posted via http://www.ruby-forum.com/....