On Thu, Jan 21, 2010 at 1:04 PM, Pito Salas <[email protected]> wrote:

> <%= button_to "New", :action => "new" %><%= button_to "old", :action =>
> "old" %>
>
> I get two lines (naturally.) But I'd like them side by side. It must be
> simple.

`view source` is your friend: 'button_to' wraps a couple of inputs in a
div inside a form, both the latter being normally block elements. Ergo,
adjust your CSS to taste.  :-)

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan
-- 
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.


Reply via email to