I have partial _month that I contains a link for each day of the month to edit the Day record nicely lined up into rows of 7 under the headings for the days of the week--a calendar month. This partial is rendered 12 times on a page for a given year. I can''t figure out how to render the partial inline rather than in blocks so that I can put more than one month on a line. How do I do this? Sam -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Vishnu Gopal
2006-Oct-25 17:57 UTC
Re: Render partials using display:inline instead of block
CSS rather than Rails, but if you''re enclosing the partial in a div, change it to a span. Or style the element with display: inline. Vish On 10/25/06, Sam Woodard <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > I have partial _month that I contains a link for each day of the month > to edit the Day record nicely lined up into rows of 7 under the headings > for the days of the week--a calendar month. This partial is rendered 12 > times on a page for a given year. I can''t figure out how to render the > partial inline rather than in blocks so that I can put more than one > month on a line. > > How do I do this? > > Sam > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Sam Woodard
2006-Oct-25 18:01 UTC
Re: Render partials using display:inline instead of block
Used a table. Sam Sam Woodard wrote:> I have partial _month that I contains a link for each day of the month > to edit the Day record nicely lined up into rows of 7 under the headings > for the days of the week--a calendar month. This partial is rendered 12 > times on a page for a given year. I can''t figure out how to render the > partial inline rather than in blocks so that I can put more than one > month on a line. > > How do I do this? > > Sam-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---