silverstripe-userforms/templates/Includes/UserFormStepNav.ss
Mike Andrewartha 22a65dc262 MINOR: fix for styling for one or more buttons that don't need the list styling for the step navigation. Will add the action nav which just shows the buttons
MINOR: fix for styling for one or more buttons that don't need the list styling for the step navigation. Will add the action nav which just shows the buttons

MINOR: fix for styling for one or more buttons that don't need the list styling for the step navigation. Will add the action nav which just shows the buttons
2015-10-22 18:41:24 +13:00

23 lines
683 B
Scheme

<nav id="step-navigation" class="step-navigation">
<ul class="step-buttons">
<%--
If JavaScript is disabled multi-step forms are displayed as a single page
so the 'prev' and 'next' button are not used. These buttons are made visible via JavaScript.
--%>
<li class="step-button-wrapper" aria-hidden="true" style="display:none;">
<button class="step-button-prev">Prev</button>
</li>
<li class="step-button-wrapper" aria-hidden="true" style="display:none;">
<button class="step-button-next">Next</button>
</li>
<% if $Actions %>
<li class="step-button-wrapper Actions">
<% loop $Actions %>
$Field
<% end_loop %>
</li>
<% end_if %>
</ul>
</nav>