diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2012-11-10 16:54:34 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2012-11-10 16:54:34 -0500 |
| commit | befef25e71eef3bf9150e7ac6718ad7f149ff3f0 (patch) | |
| tree | 423f52e79ce49f23c03faa941f61742530efe514 /templates | |
| parent | 0ae7f695448d5384f9fc6037e7acc7177fd55f55 (diff) | |
| download | famille-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.html | 6 |
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> |
