summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-09-22 22:41:32 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-09-22 22:41:32 +0000
commitfb3428428330dde7d2757317c4a7ac4e7e9a2e9b (patch)
tree13ab16aeba5f4260c75d021dc91caba935a5e9a0 /UI
parent61ea910a5ba61a7c5eed2d679d1f25c431c449a8 (diff)
Fixes to user management
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2332 4979c152-3d1c-0410-bac9-87ea11338e46
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>