silverstripe-userforms/templates/UserForm.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

27 lines
592 B
Scheme

<form $AttributesHTML>
<% include UserFormProgress %>
<% include UserFormStepErrors %>
<% if $Message %>
<p id="{$FormName}_error" class="message $MessageType">$Message</p>
<% else %>
<p id="{$FormName}_error" class="message $MessageType" aria-hidden="true" style="display: none;"></p>
<% end_if %>
<fieldset>
<% if $Legend %><legend>$Legend</legend><% end_if %>
<% loop $Fields %>
$FieldHolder
<% end_loop %>
<div class="clear"><!-- --></div>
</fieldset>
<% if $Steps.Count > 1 %>
<% include UserFormStepNav %>
<% else %>
<% include UserFormActionNav %>
<% end_if %>
</form>