mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
30 lines
652 B
Scheme
30 lines
652 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 %>
|
|
|
|
<% if $Legend %>
|
|
<fieldset>
|
|
<legend>$Legend</legend>
|
|
<% include UserFormFields %>
|
|
</fieldset>
|
|
<% else %>
|
|
<div class="userform-fields">
|
|
<% include UserFormFields %>
|
|
</div>
|
|
<% end_if %>
|
|
|
|
<% if $Steps.Count > 1 %>
|
|
<% include UserFormStepNav %>
|
|
<% else %>
|
|
<% include UserFormActionNav %>
|
|
<% end_if %>
|
|
|
|
</form>
|