silverstripe-userforms/templates/UserForm.ss

23 lines
508 B
Scheme
Raw Normal View History

2015-08-11 01:40:37 +02:00
<form $AttributesHTML>
<% include UserFormProgress %>
<% include UserFormStepErrors %>
2015-08-04 07:12:17 +02:00
<% if $Message %>
<p id="{$FormName}_error" class="message $MessageType">$Message</p>
2015-08-04 07:12:17 +02:00
<% else %>
<p id="{$FormName}_error" class="message $MessageType" aria-hidden="true" style="display: none;"></p>
<% end_if %>
2015-08-04 07:12:17 +02:00
<fieldset>
<% if $Legend %><legend>$Legend</legend><% end_if %>
<% 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 UserFormStepNav %>
2015-08-04 07:12:17 +02:00
</form>