Gordon Yeong wrote:
> Thanks craig but my mistake, guys.
>
> I meant the "id" attribute.
>
> Hence, we'll get two submit buttons:
>
> <input id="search_submit" name="commit" type="submit" value="Search"
> /> (first form)
>
> <input id="search_submit" name="commit" type="submit" value="Search"
> /> (second form)
Dear friend,
Why can't use "submit_tag" in both partial and in the current
form ? While using it , it won't have this id attribute.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.