mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
3.x compatible template usage
This commit is contained in:
parent
22b7031de5
commit
2bd5d93441
@ -1,9 +1,9 @@
|
|||||||
<ul class="stepIndicator current-$CurrentStep.class">
|
<ul class="stepIndicator current-$CurrentStep.class">
|
||||||
<% control AllStepsLinear %>
|
<% loop AllStepsLinear %>
|
||||||
<li class="$ClassName<% if LinkingMode %> $LinkingMode<% end_if %><% if FirstLast %> $FirstLast<% end_if %>">
|
<li class="$ClassName<% if LinkingMode %> $LinkingMode<% end_if %><% if FirstLast %> $FirstLast<% end_if %>">
|
||||||
<% if LinkingMode = current %><% else %><% if ID %><a href="{$Top.URLSegment}/?MultiFormSessionID={$SessionID}&StepID={$ID}"><% end_if %><% end_if %>
|
<% if LinkingMode = current %><% else %><% if ID %><a href="{$Top.URLSegment}/?MultiFormSessionID={$SessionID}&StepID={$ID}"><% end_if %><% end_if %>
|
||||||
<% if Title %>$Title<% else %>$ClassName<% end_if %>
|
<% if Title %>$Title<% else %>$ClassName<% end_if %>
|
||||||
<% if LinkingMode = current %><% else %><% if ID %></a><% end_if %><% end_if %>
|
<% if LinkingMode = current %><% else %><% if ID %></a><% end_if %><% end_if %>
|
||||||
</li>
|
</li>
|
||||||
<% end_control %>
|
<% end_loop %>
|
||||||
</ul>
|
</ul>
|
Loading…
Reference in New Issue
Block a user