mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
34 lines
939 B
Scheme
Executable File
34 lines
939 B
Scheme
Executable File
<div class="FieldEditor <% if isReadonly %>readonly<% end_if %>" id="Fields" name="$Name.Attr">
|
|
<div class="MenuHolder">
|
|
<ul class="TopMenu Menu">
|
|
<li><% _t('ADD', 'Add') %>:</li>
|
|
<% control CreatableFields %>
|
|
<li><a href="#" title="<% _t('ADD', 'Add') %> $Title" id="$ClassName">$Title</a></li>
|
|
<% end_control %>
|
|
</ul>
|
|
</div>
|
|
<div class="FieldListHold">
|
|
<div class="FieldList" id="Fields_fields">
|
|
<% control Fields %>
|
|
<% if isReadonly %>
|
|
$ReadonlyEditSegment
|
|
<% else %>
|
|
$EditSegment
|
|
<% end_if %>
|
|
<% end_control %>
|
|
</div>
|
|
</div>
|
|
<div class="MenuHolder">
|
|
<ul class="BottomMenu Menu">
|
|
<li><% _t('ADD', 'Add') %>:</li>
|
|
<% control CreatableFields %>
|
|
<li><a href="#" title="<% _t('ADD', 'Add') %> $Title" id="$ClassName">$Title</a></li>
|
|
<% end_control %>
|
|
</ul>
|
|
<div class="FormOptions">
|
|
<% control FormOptions %>
|
|
$FieldHolder
|
|
<% end_control %>
|
|
</div>
|
|
</div>
|
|
</div> |