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

Added ability to define custome list template #405

Closed
wants to merge 1 commit into from
Closed

Added ability to define custome list template #405

wants to merge 1 commit into from

Conversation

DavsX
Copy link

@DavsX DavsX commented Jul 30, 2014

Added the ability to specify custome template for the list like this:

schema: {
   myList  : {
        type: 'List',
        template: _.template("<div data-items></div>"),
   },
}

This way the Add button can be specified.

@DavsX
Copy link
Author

DavsX commented Jul 30, 2014

My apologies, apparently I removed the trailing whitespaces too (which is not a bad thing imho)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants