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

Chained conditionals #79

Closed
delapohl opened this issue Oct 6, 2015 · 3 comments
Closed

Chained conditionals #79

delapohl opened this issue Oct 6, 2015 · 3 comments

Comments

@delapohl
Copy link

delapohl commented Oct 6, 2015

Does Handlebars.net support chained conditionals (http://handlebarsjs.com/block_helpers.html)?

{{#if isActive}}
  <img src="star.gif" alt="Active">
{{else if isInactive}}
  <img src="cry.gif" alt="Inactive">
{{/if}}
@rexm
Copy link
Member

rexm commented Oct 7, 2015

This is not currently supported, but it would be pretty easy to add to the existing conditional block builder.

@rexm
Copy link
Member

rexm commented Feb 7, 2016

Updated NuGet to 1.6.1

@delapohl
Copy link
Author

delapohl commented Feb 8, 2016

Cursory tests look great. Thanks -- really appreciate your work on this project.

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

No branches or pull requests

2 participants