silverstripe-framework/tests/php/View/RequirementsTest/templates/RequirementsTest_Conditionals.ss
Guy Sartorelli d18c931ecf
API Refactor template layer into its own module
Includes the following large-scale changes:
- Impoved barrier between model and view layers
- Improved casting of scalar to relevant DBField types
- Improved capabilities for rendering arbitrary data in templates
2024-10-22 16:15:39 +13:00

10 lines
334 B
Scheme

<% if $FailTest %>
<% require themedCss(RequirementsTest_a) %>
<% require themedJavascript(RequirementsTest_b) %>
<% require themedJavascript(RequirementsTest_c) %>
<% else %>
<% require themedJavascript(RequirementsTest_a) %>
<% require themedCss(RequirementsTest_b) %>
<% require themedCss(RequirementsTest_c) %>
<% end_if %>