Is there some way to format the layout of the fields within a form? I''ve got about 10 fields that I''d like to lay out in a couple of columns. Tried putting them in a table and that didn''t work too good. Any pointers will be very much appreciated. Thanks, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060224/e118b43a/attachment.html
On Friday, February 24, 2006, at 5:25 PM, Bill Walton wrote:>Is there some way to format the layout of the fields within a form? >I''ve got about 10 fields that I''d like to lay out in a couple of >columns. Tried putting them in a table and that didn''t work too >good. Any pointers will be very much appreciated. > >Thanks, >Bill >I think the "easiest" way to do this would be to make each element use relative positioning with CSS. I don''t think that there''s anything in Rails that will help with the layout in this manner. Perhaps separating each column into a partial, placing a div around each and then just positioning the 2 divs might make it a little less confusing in the stylesheet. I could be wrong though. I''ve never given web design advice to a basketball legend before. -- Posted with http://DevLists.com. Sign up and save your time!
I don''t know if you are still looking for something to help with your forms, but I have a plugin called simple_form that may help. You can check it out into your vendor/plugins directory from svn: http://opensvn.csie.org/calico_rails/simple_form There is little documentation... I know, it''s a todo item. Hope this helps. Bill Walton wrote:> Is there some way to format the layout of the fields within a form? > I''ve got about 10 fields that I''d like to lay out in a couple of > columns. Tried putting them in a table and that didn''t work too good. > Any pointers will be very much appreciated. > > Thanks, > Bill-- Posted via http://www.ruby-forum.com/.
What''s wrong with at table or a definition list ? I''ve used both, and my forms end up all nice and neat and such. I may not understand the question fully. On 2/24/06, Steve Ross <cwdinfo@gmail.com> wrote:> > I don''t know if you are still looking for something to help with your > forms, but I have a plugin called simple_form that may help. You can > check it out into your vendor/plugins directory from svn: > > http://opensvn.csie.org/calico_rails/simple_form > > There is little documentation... I know, it''s a todo item. > > Hope this helps. > > > Bill Walton wrote: > > Is there some way to format the layout of the fields within a form? > > I''ve got about 10 fields that I''d like to lay out in a couple of > > columns. Tried putting them in a table and that didn''t work too good. > > Any pointers will be very much appreciated. > > > > Thanks, > > Bill > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060225/36762fd6/attachment.html
Hi Dylan, I put a table with a nested ''tr'' / ''td'' structure and got unexplainable behavior including rows being in a different order than you''d expect from the code. I''d be happy to share the code and results if anybody''s interested. Thanks, Bill ----- Original Message ----- From: Dylan Stamat To: rails@lists.rubyonrails.org Sent: 2006-02-25 1:12 AM Subject: Re: [Rails] Re: need help with form layout What''s wrong with at table or a definition list ? I''ve used both, and my forms end up all nice and neat and such. I may not understand the question fully. On 2/24/06, Steve Ross <cwdinfo@gmail.com> wrote: I don''t know if you are still looking for something to help with your forms, but I have a plugin called simple_form that may help. You can check it out into your vendor/plugins directory from svn: http://opensvn.csie.org/calico_rails/simple_form There is little documentation... I know, it''s a todo item. Hope this helps. Bill Walton wrote: > Is there some way to format the layout of the fields within a form? > I''ve got about 10 fields that I''d like to lay out in a couple of > columns. Tried putting them in a table and that didn''t work too good. > Any pointers will be very much appreciated. > > Thanks, > Bill -- Posted via http://www.ruby-forum.com/. _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails ------------------------------------------------------------------------------ _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060225/9d9f5154/attachment-0001.html
Hi Steve, I see some things in your plugin that look like they might be very helpful. My problem is that I''m so new to RoR that I''m heavily dependent on documentation and/or list help like this. I''m pretty good at _doing_ documentation though, so if you''d be willing to provide some offline help with using it, I''d be willing to put my learning down in writing. If you''re interested, let me know. Thanks, Bill ----- Original Message ----- From: "Steve Ross" <cwdinfo@gmail.com> To: <rails@lists.rubyonrails.org> Sent: 2006-02-25 1:04 AM Subject: [Rails] Re: need help with form layout> I don''t know if you are still looking for something to help with your > forms, but I have a plugin called simple_form that may help. You can > check it out into your vendor/plugins directory from svn: > > http://opensvn.csie.org/calico_rails/simple_form > > There is little documentation... I know, it''s a todo item. > > Hope this helps. > > > Bill Walton wrote: > > Is there some way to format the layout of the fields within a form? > > I''ve got about 10 fields that I''d like to lay out in a couple of > > columns. Tried putting them in a table and that didn''t work too good. > > Any pointers will be very much appreciated. > > > > Thanks, > > Bill > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails