summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
Diffstat (limited to 'UI')
-rw-r--r--UI/Admin/edit_user.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/UI/Admin/edit_user.html b/UI/Admin/edit_user.html
index 6128e527..ebaaad93 100644
--- a/UI/Admin/edit_user.html
+++ b/UI/Admin/edit_user.html
@@ -1,3 +1,5 @@
+<?lsmb INCLUDE 'ui-header.html' ?>
+<?lsmb PROCESS 'elements.html' ?>
<div id="modify_user">
<font size="15">
<strong>
@@ -136,11 +138,12 @@
<input type="textarea" name="zipcode" value="<?lsmb location.zipcode?>"/>
</td>
<td valign="top">
- <select name="country">
- <?lsmb FOREACH country IN countries?>
- <option value="<?lsmb country.id?>"><?lsmb country.name?></option>
- <?lsmb END?>
- </select>
+ <?lsmb PROCESS select element_data = {
+ name = "country"
+ options = countries
+ value_attr = "id"
+ text_attr = "name"
+ } ?>
</td>
</tr>
<tr>
@@ -242,4 +245,4 @@
</tr>
</table>
<?lsmb END?>
-</div> \ No newline at end of file
+</div>