Fix #1412 Set defaut gender to empty value

This commit is contained in:
Nicolas Le Goff
2013-08-07 18:53:06 +02:00
parent a7690d3cac
commit 92282dd0d4
2 changed files with 5 additions and 6 deletions

View File

@@ -46,6 +46,7 @@
<label class="form_label control-label" for="form_gender"><strong>{% trans "admin::compte-utilisateur sexe" %}</strong></label>
<div class="controls">
<select name="form_gender" class="input-xlarge">
<option value=""></option>
<option {% if app["authentication"].getUser().get_gender() == "0" %}selected{% endif %} value="0" >
{% trans "admin::compte-utilisateur:sexe: mademoiselle" %}
</option>