<% if IncludeFormTag %>
<% end_if %> <% if Message %>

$Message

<% else %> <% end_if %>
<% if Legend %>$Legend<% end_if %> <% loop Fields %>
<% if type != checkbox %><% if IsHidden != true %><% end_if %><% end_if %>
$Field
<% if type == checkbox %><% end_if %> <% if Message %>$Message<% end_if %>
<% end_loop %> <% if Actions %>
<% loop Actions %> $Field <% end_loop %>
<% end_if %>
<% if IncludeFormTag %>
<% end_if %>