silverstripe-reports/templates/Includes/CMSPagesController_ContentToolbar.ss
Mateusz Uzdowski 9b39acb08c BUGFIX: Check the drag and drop radio by default.
The default state of the tree is drag and drop mode.
2012-05-11 10:29:13 +12:00

15 lines
653 B
Scheme

<div class="cms-tree-view-modes">
<span><% _t("TreeTools.DisplayLabel","Display:") %></span>
<% if CanOrganiseSitetree %>
<div class="checkboxAboveTree">
<input type="radio" name="view-mode" class="view-mode" value="draggable" id="view-mode-draggable" checked="checked" />
<label for="view-mode-draggable"><% _t("ENABLEDRAGGING","Drag'n'drop") %></label>
</div>
<% end_if %>
<div>
<input type="radio" name="view-mode" class="view-mode" value="multiselect" id="view-mode-multiselect" />
<label for="view-mode-multiselect"><% _t("MULTISELECT","Multi-selection") %></label>
</div>
</div>
<% include CMSPagesController_ContentToolActions %>