vhochstein / active_scaffold

Rails 4 Version of activescaffold supporting jquery
MIT License
156 stars 34 forks source link

create form horizontal columns layout #65

Closed danil-z closed 13 years ago

danil-z commented 13 years ago

i have a simple model with only 2 columns and would like output them in create and update form in 1 row... (not one under another) Is it possible change layout for certain controller to output columns in horizontal order?

like subform can output when subform.layout = :horizontal
Column A Column B

vhochstein commented 13 years ago

Sure, you can either override partials for your controller or try to get that done by just changing css. I ve never tried so I m not sure which one is best approach.

danil-z commented 13 years ago

thanks