Hi Thanks a lot... i tried the css_class for each column and changed the style. I have lots of fields and i need the vertical form with 10 rows and 2 columns. Am i doing it right??
On Jul 5, 11:22 am, "Sergio Cambra .:: entreCables S.L. ::." <[email protected]> wrote: > On Sábado, 3 de Julio de 2010 14:13:37 Balaji escribió: > > > Hi > > > I have copied the _form.html.erb and _form_association.html.erb to my > > views/orders folder. I was able to style the create form but not able > > to style the subform > > > form_association.html.erb calls render :partial => > > subform_partial_for_column(column). I tried to comment this and create > > my own tabular format. But this affects the parent form. My subform > > has lot of fields and displays horizontally. > > You can override _horizontal_subform in your subform controller. If order has > many items, you can put _horizontal_subform.html.erb in app/views/items and it > should be used instead of default partial. > > > > > Any help > > > Thanks > > Balaji > > -- > Sergio Cambra .:: entreCables S.L. ::. > Mariana Pineda 23, 50.018 Zaragoza > T) 902 021 404 F) 976 52 98 07 E) [email protected] -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.
