silverstripe-cms/templates/ReportAdminForm.ss
Ingo Schommer 3271daf1c7 BUGFIX: Don't throw an error if there are no report filters.
ENHANCEMENT: Allow for custom generation of SSReport::ID() for parameterised reports.
MINOR: Added SSReport::dataClass() accessor.
BUGFIX: Don't randomise the order of reports with the same priority. (from r95955) (from r98180)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105831 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:26:44 +00:00

45 lines
1.0 KiB
Scheme

<form $FormAttributes>
<p style="display: none;" class="message " id="Form_EditForm_error"/>
<fieldset>
<div id="ScrollPanel">
$FieldMap.ReportTitle.FieldHolder
$FieldMap.ReportDescription.FieldHolder
<!-- Filters -->
<% if FieldMap.Filters.Children %>
<div style="border-bottom: 1px #AAA solid"><b>Filter by</b></div>
<% control FieldMap.Filters %>
<% control Children %>
<div style="float: left; margin: 5px 10px 10px 0; height: 35px">
<label for="$ID" style="font-weight: bold; display: block">$Title</label>
$Field
</div>
<% end_control %>
<% end_control %>
<div id="action_updatereport" style="float: left; margin: 1px 10px 10px 0">
<br />
<% if FieldMap.action_updatereport %>
$FieldMap.action_updatereport.Field
<% end_if %>
</div>
<div style="clear: both">&nbsp;</div>
<% end_if %>
$FieldMap.ReportContent.FieldHolder
<% control HiddenFields %>$Field<% end_control %>
</div>
<div class="clear"><!-- --></div>
</fieldset>
</form>