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

allow fieldset with custom data-fields template #358

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

allow fieldset with custom data-fields template #358

wants to merge 3 commits into from

Conversation

0xgeert
Copy link

@0xgeert 0xgeert commented Feb 13, 2014

Like a form template, this pull allows a fieldset to have a custom template that includes data-fields="<subset of fields in fieldset>"

0xgeert and others added 2 commits February 13, 2014 15:34
Like a form template, this pull allows a fieldset to have a custom template that includes `data-fields="<subset of fields in fieldset>"`

//include all keys if not specified
if (!keys.length)
keys = _.keys(fields);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These if statements without curly braces don't pass jslint. I realize there are a lot of brace-less if statements in this project, but I think it would be best to use them moving forward.

@0xgeert
Copy link
Author

0xgeert commented Feb 15, 2014

@reustle cheers

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

Successfully merging this pull request may close these issues.

2 participants