Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style fieldsets in admin forms #39

Closed
vala opened this issue Sep 2, 2015 · 1 comment
Closed

Style fieldsets in admin forms #39

vala opened this issue Sep 2, 2015 · 1 comment
Assignees

Comments

@vala
Copy link
Contributor

vala commented Sep 2, 2015

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
Copy link
Contributor

xana68 commented Oct 15, 2015

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

@xana68 xana68 closed this as completed Oct 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants