28 lines
747 B
Scheme
Raw Normal View History

2020-07-01 16:02:39 +07:00
<% if $IncludeFormTag %>
<form $AttributesHTML>
<% end_if %>
<% if $Message %>
2021-01-14 02:03:21 +07:00
<div id="{$FormName}_error" class="form__message alert alert-{$MessageType} message $MessageType">$Message.RAW</div>
2020-07-01 16:02:39 +07:00
<% else %>
2021-01-14 02:03:21 +07:00
<div id="{$FormName}_error" class="form__message alert alert-{$MessageType} message {$MessageType}" style="display: none"></div>
2020-07-01 16:02:39 +07:00
<% end_if %>
2021-01-14 02:03:21 +07:00
<fieldset class="form__fieldset">
<% if $Legend %><legend class="form__legend">$Legend</legend><% end_if %>
2020-07-01 16:02:39 +07:00
<% loop $Fields %>
$FieldHolder
<% end_loop %>
<div class="clear"><!-- --></div>
</fieldset>
<% if $Actions %>
2021-01-14 02:03:21 +07:00
<div class="form__actions btn-toolbar">
2020-07-01 16:02:39 +07:00
<% loop $Actions %>
$Field
<% end_loop %>
</div>
<% end_if %>
<% if $IncludeFormTag %>
</form>
<% end_if %>