Open
Description
Introduction
each_row helper can't be used in a {{else}}...{{/if}} block
To Reproduce
<div>
{{#if menu}}
A menu
{{else}}
{{#each_row}}
{{title}}<br>
{{/each_row}}
{{/if}}
</div>
select
'foo' as component;
select
'a' as title;
select
'b' as title;
select
'c' as title;
Actual behavior
I got the error message :
Sorry, but we were not able to process your request.
Failed to create a render context from the header context.: Error rendering "Unnamed template" line 5, col 5: Helper not found each_row: Helper not found each_row
Version information
- OS: Linux (ChromeOS)
- none
- SQLPage Version : 0.19.1