Forgive me for the stupid question, I know you\'re not supposed to put logic in handlebars expressions, but I\'m new to this and I\'m not sure how to get around it.
You can register a helper
{{#equals form.target "new"}} Save {{else}} {{#equals form.target "edit"}} Save Changes {{/equals}} {{/equals}} Handlebars.registerHelper("equals", function(string1 ,string2, options) { if (string1 === string2) { return options.fn(this); } else { return options.inverse(this); } });