silverstripe-framework/templates/SearchForm.ss

16 lines
353 B
Scheme
Raw Normal View History

<form $FormAttributes>
<% if Message %>
<p id="{$FormName}_error" class="message $MessageType">$Message</p>
<% else %>
<p id="{$FormName}_error" class="message $MessageType" style="display: none"></p>
<% end_if %>
<fieldset>
<% loop Fields %>
$FieldHolder
<% end_loop %>
<% loop Actions %>
$Field
<% end_loop %>
</fieldset>
</form>