Hi there,
I'm trying to use select_static without success.
If I do this in the volt template, it works
<?php
echo $this->tag->selectStatic(array("status", array("A" => "Active","I" => "Inactive")));
?>
I'm assuming the following is the correct syntax for the Volt version of the above
{{ select_static(array("status", array("A" => "Active","I" => "Inactive"))) }}
However, in this case, I get the following error
Syntax error, unexpected token ASSIGN in /Applications/MAMP/htdocs/escglam/public/../app/views/booking/index.volt on line 10
I've tried to find some examples of Volt select_static but there doesn't seem to be anything. Any ideas what I'm doing wrong here?
Thanks.