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

Missing mixins (grid-inputs-core, float-inputs-core) #12

Open
beverlycodes opened this issue May 20, 2010 · 1 comment
Open

Missing mixins (grid-inputs-core, float-inputs-core) #12

beverlycodes opened this issue May 20, 2010 · 1 comment

Comments

@beverlycodes
Copy link

I went to use the float-inputs-for functionality in a project I'm working on and ended up with a Sass::SyntaxError letting me know that the +grid-inputs-core and +float-inputs-core mixins are missing from the current version of formtastic-sass.

@BigForNothing
Copy link

Remove the "-core" part from line 423 and 443 and it should fix the issue.

=grid-inputs-for(!dom_target,!width=100px,!line_height=150%)
  #{!dom_target}
    +grid-inputs-core(!width,!line_height)

By looking at the code, its taking the 1st argument (!dom_target) and creating a new class or id with it. Once that is done, its calling grid-inputs as normal using the !width and !line_height if provided, otherwise it uses the default values of 100px and 150%.

Hope this helps...

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