summaryrefslogtreecommitdiff
path: root/tools/mmd/MmdWidgets.py
diff options
context:
space:
mode:
authorJogi Hofmüller <jogi@mur.at>2011-08-11 20:03:03 +0000
committerJogi Hofmüller <jogi@mur.at>2011-08-11 20:03:03 +0000
commitc928433af213be65eb3f370c4734ae7fba47dd4e (patch)
tree0fb3ab113c9e43733c6c053dfc58b7a2d50ab295 /tools/mmd/MmdWidgets.py
parent- fixed bug in debug display (diff)
- added field altitude to registerFormWidget ()
- added altitude to all Location () methods git-svn-id: https://svn.spreadspace.org/mur.sat@132 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools/mmd/MmdWidgets.py')
-rw-r--r--tools/mmd/MmdWidgets.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py
index 4f9397d..d5fa2a1 100644
--- a/tools/mmd/MmdWidgets.py
+++ b/tools/mmd/MmdWidgets.py
@@ -110,14 +110,15 @@ def registerFormWidget ():
<tr><td class="formfield">Confirm Password*: </td><td><input type="password" name="confirm" /></td></tr>
<tr><td colspan="2">You can enter your prefered location if you wish</td></tr>
<tr><td class="formfield">Name: </td><td><input type="text" name="location_name" /></td></tr>
- <tr><td class="formfield">Longitude: </td><td><input type="text" name="latitude" /></td></tr>
- <tr><td class="formfield">Latitude: </td><td><input type="text" name="longitude" /></td></tr>
+ <tr><td class="formfield">Longitude**: </td><td><input type="text" name="latitude" /></td></tr>
+ <tr><td class="formfield">Latitude**: </td><td><input type="text" name="longitude" /></td></tr>
+ <tr><td class="formfield">Altitude: </td><td><input type="text" name="altitude" /></td></tr>
<!-- <tr><td class="formfield"><input type="submit" value="Register" disabled="disabled" /></td><td></td></tr> -->
<tr><td class="formfield"><input type="submit" value="register" /></td><td></td></tr>
</table>
<input type="hidden" name="cmd" value="register" />
</form>
- Fields marked with a * are mandatory.
+ Fields marked with * are mandatory. Fields markde with ** are mandatory iff you enter your preferred location.
'''
return html