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

Disable Label #5

Open
hyshka opened this issue Sep 21, 2015 · 1 comment
Open

Disable Label #5

hyshka opened this issue Sep 21, 2015 · 1 comment

Comments

@hyshka
Copy link

hyshka commented Sep 21, 2015

Hey, is there a way to disable the label for a particular element? I've tried label: "" to no avail.

Also, is there a way I can add my own custom fields like file_field, etc.?

@marnen
Copy link
Owner

marnen commented Sep 21, 2015

Why would you want to disable the label if you're using this gem's methods? The point of this gem is that it creates the whole wrapped structure that Foundation expects. My initial response, then, is that if you don't need that, you should probably use the straight Rails FormBuilder methods (which still work here). But maybe there's something I don't understand. What's your use case for this?

As for custom fields, let me refresh my memory on how the code works. You might be able to reopen the class for the new methods, but I'm not sure that will work as things stand now. Pull requests are welcome, though.

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