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

Arbre deletes attribute :for of html label tag #34

Closed
lephuongbg opened this issue Aug 19, 2014 · 1 comment
Closed

Arbre deletes attribute :for of html label tag #34

lephuongbg opened this issue Aug 19, 2014 · 1 comment

Comments

@lephuongbg
Copy link

This line in lib/arbre/html/tag.rb:

    set_for_attribute(attributes.delete(:for))

makes it difficult to define custom label tag using arbre html tag. Currently I'm creating a custom page to edit system settings. The settings are just entries in the database so I need to print label and input manually.

@seanlinsley
Copy link
Contributor

This is a duplicate of #18

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