Displaying 2 results from an estimated 2 matches for "css_id".
Did you mean:
bus_id
2009 Jul 07
10
link_to, how do you combine url options and html_options?
I have a link-to that I wish to look somewhat like this:
link_to "link here", new_object_path,
:method => :post, :confirm => ''Press OK'', #url
options
:class => "css_class", :id => "css_id" #html
options
In any case I can either get the url_for options to work or the html
options to work, but no matter how I arrange () or {} I cannot get both
to work together. As far as I can determine, the api documents do not
explicitly show this case either.
What I want link_to to gener...
2011 Feb 22
2
tag helper
How can I add specific content inside a tag when I create it using the
tag helper? Is there an "inner_html" option?
This doesn''t seem to be working.
<%= tag(:map, :id => (@module.css_id), :inner_html =>''innerhtml'' ) %>
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from...