46 lines
1.1 KiB
HTML
46 lines
1.1 KiB
HTML
|
|
|
|
<H2>Conditions</H2>
|
|
<p>a condition {if:condition} hello {else:} world {end:}</p>
|
|
<p>a negative condition {if:!condition} hello {else:} world {end:}</p>
|
|
<p>a conditional method {if:condition()} hello {else:} world {end:}</p>
|
|
<p>a negative conditional method {if:!condition()} hello {else:} world {end:}</p>
|
|
|
|
|
|
<span flexy:if="test">test</span>
|
|
<span flexy:if="test()">test</span>
|
|
<span flexy:if="test(#aaa bbb#,ccc,#asdfasdf asdf #)">test</span>
|
|
|
|
|
|
|
|
<H2>Notices and errros</H2>
|
|
|
|
|
|
<table flexy:if="notices" class="tablenotice" width="70%" align="center">
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td class="tdheadernotice" height="20" width="526">Thanks</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="tdbodynotice" height="33">
|
|
<p flexy:if="notices[ok]">Submitted data is ok</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<table flexy:if="errors" class="tablewarning" width="100%">
|
|
<tbody>
|
|
<tr>
|
|
<td class="tdheaderwarning" height="20" width="526">Sorry</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="tdbodywarning">
|
|
|
|
<li flexy:if="errors[lastname]">Please fill in your last name</li>
|
|
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|