<% if $IncludeFormTag %>
<% end_if %>
<% with $Controller %> <% include CMSBreadcrumbs %> <% end_with %>
<% if $Fields.hasTabset %> <% with $Fields.fieldByName('Root') %>
    <% loop $Tabs %> class="$extraClass"<% end_if %>>$Title <% end_loop %>
<% end_with %> <% end_if %>
<% with $Controller %> $EditFormTools <% end_with %>
<% if $Message %>

$Message

<% else %> <% end_if %>
<% if $Legend %>$Legend<% end_if %> <% loop $Fields %> $FieldHolder <% end_loop %>
<% if $Actions %>
<% loop $Actions %> $Field <% end_loop %> <% if $Controller.LinkPreview %> <% _t('LeftAndMain.PreviewButton', 'Preview') %> » <% end_if %>
<% end_if %>
<% if $IncludeFormTag %>
<% end_if %>