aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2012-11-10 16:54:34 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2012-11-10 16:54:34 -0500
commitbefef25e71eef3bf9150e7ac6718ad7f149ff3f0 (patch)
tree423f52e79ce49f23c03faa941f61742530efe514 /templates
parent0ae7f695448d5384f9fc6037e7acc7177fd55f55 (diff)
downloadfamille-flask-befef25e71eef3bf9150e7ac6718ad7f149ff3f0.tar.gz
The time is be displayed in the user timezone
I can't make the user edit template work The dropdown doesn't default to the current timezone.
Diffstat (limited to 'templates')
-rw-r--r--templates/user/edit.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/user/edit.html b/templates/user/edit.html
index b85f7b2..9f51c2a 100644
--- a/templates/user/edit.html
+++ b/templates/user/edit.html
@@ -41,6 +41,12 @@
<label for="city_line">Ville, CP <span class="info">(dernière ligne)</span> :</label>
<input type="text" id="city_line" size="30" name="address_city_line" value="{{user.address_city_line}}"/><br />
+<label for="timezone">Timezone:</label>
+<select>
+{% for timezone in g.timezone %}
+<option {%if timezone==session.timezone %}select {% endif %}>{{timezone}}</option>
+{% endfor %}
+</select>
</p>
</fieldset>