Skip to content

Instantly share code, notes, and snippets.

@techwraith
Forked from ben-ng/index.html.hbs
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techwraith/9636235 to your computer and use it in GitHub Desktop.
Save techwraith/9636235 to your computer and use it in GitHub Desktop.
{{#selectTag toDos step.toDoId selectOpts}}
{{/selectTag}}
var Main = function () {
this.index = function (req, resp, params) {
this.respond({
toDos: toDos
, step: step
, selectOpts: {
name: 'toDoId'
, valueField: 'id'
, textField: 'title'
}
}, {
format: 'html'
, template: 'app/views/main/index'
});
};
};
exports.Main = Main;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment