para-cms / para

Rails complete admin interface builder
MIT License
12 stars 9 forks source link

Style fieldsets in admin forms #39

Closed vala closed 9 years ago

vala commented 9 years ago

We should be able to simply use standard fieldsets to group fields in our forms, the following way :

= para_form_for(resource) do |form|
  = form.fieldset do
    %legend Details
    = form.input :title
xana68 commented 9 years ago

We have to add a div .form-group on top of the %legend if we whant a nice look with dashed border but it w'll be remove with the new design

= para_form_for(resource) do |form|
  = form.fieldset do
    .form-group
       %legend Details
    = form.input :title