summaryrefslogtreecommitdiff
path: root/UI/Admin/edit_user.html
diff options
context:
space:
mode:
Diffstat (limited to 'UI/Admin/edit_user.html')
-rw-r--r--UI/Admin/edit_user.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/UI/Admin/edit_user.html b/UI/Admin/edit_user.html
index c77406a2..536b8ffa 100644
--- a/UI/Admin/edit_user.html
+++ b/UI/Admin/edit_user.html
@@ -195,11 +195,13 @@
<tr>
<td></td>
<td>
- <select name="class">
- <?lsmb FOREACH class IN contact_classes?>
- <option name="<?lsmb class.id?>" <?lsmb IF contact.contact_class_id == class.id?>selected<?lsmb END?>><?lsmb class.contact?></option>
- <?lsmb END?>
- </select>
+ <?lsmb PROCESS select element_data = {
+ name = "contact_class"
+ options = contact_classes
+ default_values = [contact.contact_class_id]
+ value_attr = "id"
+ text_attr = "classname"
+ } ?>
</td>
<td>
<input type="textarea" name="contact" value="<?lsmb contact.contact?>"/>