hpr_generator/templates/shared-utils.tpl.html
Roan Horning e250581f3c
Add display_choice macro
Display custom messages depending on a boolean integer value.
2022-08-04 19:31:35 -04:00

10 lines
333 B
HTML

<!--% MACRO zero_pad_left(word) BLOCK %-->
<!--% USE String(word) %-->
<!--% String.format("%04s") %-->
<!--% END %-->
<!--% MACRO display_choice(choice, display_when_true, display_when_false) BLOCK %-->
<!--% IF choice == 1 %--><!--% display_when_true %-->
<!--% ELSE %--><!--% display_when_false %--><!--% END %-->
<!--% END %-->