Add parser support for select/any/none.
This commit is contained in:
@@ -87,14 +87,14 @@ Early termination{~n}
|
||||
{/pet_names}
|
||||
{/select}{~n}
|
||||
|
||||
Default{~n}
|
||||
======={~n}
|
||||
Early termination stand-alone comparison{~n}
|
||||
========================================{~n}
|
||||
{@select key=pet}
|
||||
{@eq key="duck" value="duck"}Lets name your pet quackers{~n}{/eq}
|
||||
{@eq value="cat"}Lets name your pet whiskers{~n}{/eq}
|
||||
{@eq value="dog"}Lets name your pet rover{~n}{/eq}
|
||||
{@eq value="lizard"}Lets name your pet dave{~n}{/eq}
|
||||
{@default}Fenton is a good name for any pet{~n}{/default}
|
||||
{@any}{person} has a pet!{~n}{/any}
|
||||
{@none}I don't know what to name {person}'s pet...{~n}{/none}
|
||||
text not inside a comparison{~n}
|
||||
{#pet_names}
|
||||
If your pet was a {type} we'd name it {pet_name}{~n}
|
||||
|
||||
Reference in New Issue
Block a user