2015-08-11 01:40:37 +02:00
|
|
|
<form $AttributesHTML>
|
2017-07-13 05:06:21 +02:00
|
|
|
|
2017-08-14 02:29:57 +02:00
|
|
|
<% include SilverStripe\\UserForms\\Form\\UserFormProgress %>
|
|
|
|
<% include SilverStripe\\UserForms\\Form\\UserFormStepErrors %>
|
2015-08-04 07:12:17 +02:00
|
|
|
|
|
|
|
<% if $Message %>
|
2015-08-13 01:31:37 +02:00
|
|
|
<p id="{$FormName}_error" class="message $MessageType">$Message</p>
|
2015-08-04 07:12:17 +02:00
|
|
|
<% else %>
|
2015-08-13 01:31:37 +02:00
|
|
|
<p id="{$FormName}_error" class="message $MessageType" aria-hidden="true" style="display: none;"></p>
|
2015-08-13 01:55:39 +02:00
|
|
|
<% end_if %>
|
|
|
|
|
2017-07-13 05:06:21 +02:00
|
|
|
<% if $Legend %>
|
|
|
|
<fieldset>
|
|
|
|
<legend>$Legend</legend>
|
2017-08-22 02:15:22 +02:00
|
|
|
<% include SilverStripe\\UserForms\\Form\\UserFormFields %>
|
2017-07-13 05:06:21 +02:00
|
|
|
</fieldset>
|
|
|
|
<% else %>
|
|
|
|
<div class="userform-fields">
|
2017-08-22 02:15:22 +02:00
|
|
|
<% include SilverStripe\\UserForms\\Form\\UserFormFields %>
|
2017-07-13 05:06:21 +02:00
|
|
|
</div>
|
|
|
|
<% end_if %>
|
2015-08-04 07:12:17 +02:00
|
|
|
|
2015-10-22 06:57:51 +02:00
|
|
|
<% if $Steps.Count > 1 %>
|
2017-08-14 02:29:57 +02:00
|
|
|
<% include SilverStripe\\UserForms\\Form\\UserFormStepNav %>
|
2015-10-22 06:57:51 +02:00
|
|
|
<% else %>
|
2017-08-14 02:29:57 +02:00
|
|
|
<% include SilverStripe\\UserForms\\Form\\UserFormActionNav %>
|
2015-10-22 06:57:51 +02:00
|
|
|
<% end_if %>
|
2015-08-04 07:12:17 +02:00
|
|
|
|
|
|
|
</form>
|