hamlbars
hamlbars copied to clipboard
Improve readability of outputted hbs
old:
{{#if messages}}<ul class='alert'>
{{#each messages}}<li>{{{this}}}</li>{{/each}}
</ul>{{/if}}
with my modifications:
{{#if messages}}
<ul class='alert'>
{{#each messages}}
<li>{{{this}}}</li>
{{/each}}
</ul>
{{/if}}