2010-09-03 05:06:13 +00:00
|
|
|
<% require css(userforms/css/FieldEditor.css) %>
|
|
|
|
<% require javascript(sapphire/thirdparty/jquery-ui/jquery-ui-1.8rc3.custom.js) %>
|
|
|
|
<% require javascript(userforms/javascript/UserForm.js) %>
|
|
|
|
|
|
|
|
<div class="FieldEditor <% if canEdit %><% else %>readonly<% end_if %>" id="Fields">
|
2009-04-27 00:20:20 +00:00
|
|
|
|
2009-03-26 01:28:57 +00:00
|
|
|
<div class="FieldListHold">
|
2009-04-18 02:49:46 +00:00
|
|
|
<ul class="FieldList" id="Fields_fields">
|
|
|
|
<% control Fields %>
|
2009-06-08 04:42:17 +00:00
|
|
|
$EditSegment
|
2009-04-18 02:49:46 +00:00
|
|
|
<% end_control %>
|
|
|
|
</ul>
|
2009-03-26 01:28:57 +00:00
|
|
|
</div>
|
2009-04-21 05:10:39 +00:00
|
|
|
|
2010-09-03 05:06:13 +00:00
|
|
|
<% if canEdit %>
|
|
|
|
<div class="MenuHolder">
|
|
|
|
<h2><% _t('ADD', 'Add') %></h2>
|
|
|
|
|
|
|
|
<select name="AddUserFormField" id="AddUserFormField">
|
|
|
|
<option value=""><% _t('SELECTAFIELD', 'Select a Field') %></option>
|
|
|
|
|
|
|
|
<% control CreatableFields %>
|
|
|
|
<option value="$ClassName">$Title</option>
|
|
|
|
<% end_control %>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<input type="submit" class="action" value="<% _t('ADD', 'Add') %>" />
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
2009-03-25 02:06:28 +00:00
|
|
|
</div>
|