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

Labels for :date fields are not displayed #11

Open
romanl opened this issue Apr 4, 2010 · 2 comments
Open

Labels for :date fields are not displayed #11

romanl opened this issue Apr 4, 2010 · 2 comments

Comments

@romanl
Copy link

romanl commented Apr 4, 2010

Hi,

In Line 183 of _formtastic_base.sass, there is:
label
:display none

This causes that = f.input :enddate is displayed without a label.

I fixed that by overwriting. I Dont think this was intendet.

@gonzoyumo
Copy link

hi,
this comes from the recent updates of formtastic. they replaced the span tag by a real label tag for date fieds. This break the formtastic_base.sass styles.

Its really annoying when using float-left display since just overwriting this style doesn't fixe the problem if your label is wide. In my case, the label doesn't break and run over the select boxes :/

I'm trying to fixe it but it looks harder than I thought.

@jackkinsella
Copy link

one up

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

3 participants