silverstripe-framework/templates/EditableFileField.ss
Hayden Smith 4a5d9b03f8 Moved Sapphire module to open source path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:28 +00:00

21 lines
947 B
Scheme
Executable File

<div id="$Name.Attr" class="EditableFormField EditableFileField">
<div class="FieldInfo">
<img class="handle" src="sapphire/images/drag.gif" alt="Drag to rearrange order of fields" />
<img class="icon" src="sapphire/images/fe_icons/file-upload.png" alt="File upload field" />
$TitleField
<a class="toggler" href="#" title="More options"><img src="cms/images/edit.gif" alt="More options" /></a>
<a class="delete" href="#" title="Delete this field"><img src="cms/images/delete.gif" alt="Delete this field" /></a>
</div>
<div class="ExtraOptions" id="$Name.Attr-extraOptions">
<div class="FieldDefault">
$DefaultField
</div>
<% control ExtraOptions %>
$FieldHolder
<% end_control %>
</div>
<input type="hidden" name="$Name.Attr[CustomParameter]" value="$CustomParameter" />
<input type="hidden" name="$Name.Attr[Type]" value="EditableFileField" />
<input type="hidden" name="$Name.Attr[Sort]" value="-1" />
</div>