Sablon.Statement.Condition (sablon v0.4.4)

Copy Markdown View Source

Renders the first block whose condition holds, or the else block.

conditions is a list of maps with :condition_expr, :predicate and :block keys, in the order the clauses appear in the template.