2015-08-11 01:40:37 +02:00
|
|
|
<form $AttributesHTML>
|
2015-08-13 01:31:37 +02:00
|
|
|
|
|
|
|
<% include UserFormProgress %>
|
|
|
|
<% include 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 %>
|
|
|
|
|
2015-08-04 07:12:17 +02:00
|
|
|
<fieldset>
|
|
|
|
<% if $Legend %><legend>$Legend</legend><% end_if %>
|
2015-08-13 01:31:37 +02:00
|
|
|
<% loop $Fields %>
|
|
|
|
$FieldHolder
|
|
|
|
<% end_loop %>
|
2015-08-04 07:12:17 +02:00
|
|
|
<div class="clear"><!-- --></div>
|
|
|
|
</fieldset>
|
|
|
|
|
2015-08-17 00:43:51 +02:00
|
|
|
<%--
|
|
|
|
Include step navigation if it's a multi-page form.
|
|
|
|
The markup inside this include is hidden by default and displayed if JavaScript is enabled.
|
|
|
|
--%>
|
|
|
|
|
|
|
|
<% if $Steps.Count > 1 %>
|
|
|
|
<% include UserFormStepNav %>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<%--
|
|
|
|
When JavaScript is disabled, multi-page forms are diaplayed as a single page form,
|
|
|
|
and these actions are used instead of the step navigation include.
|
|
|
|
|
|
|
|
These actions are hidden by JavaScript on multi-page forms.
|
|
|
|
--%>
|
|
|
|
|
2015-08-04 07:12:17 +02:00
|
|
|
<% if $Actions %>
|
|
|
|
<div class="Actions">
|
|
|
|
<% loop $Actions %>
|
2015-08-06 01:01:21 +02:00
|
|
|
$Field
|
2015-08-04 07:12:17 +02:00
|
|
|
<% end_loop %>
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
</form>
|