Commit 2d8dd4f9c7e8ed8f05a22567e91eb77f2b6eeee1

Authored by filipecmedeiros
2 parents c62db28c 240cf603

Merge branch 'dev' of https://github.com/amadeusproject/amadeuslms into dev

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
users/templates/users/edit_profile.html
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 <label for="{{ field.auto_id }}">{{ field.label }}</label> 36 <label for="{{ field.auto_id }}">{{ field.label }}</label>
37 {% endif %} 37 {% endif %}
38 {% if field.auto_id == 'id_birth_date' %} 38 {% if field.auto_id == 'id_birth_date' %}
39 - <input type="text" class="form-control date-picker"name="{{field.name}}" value="{% if field.value.year %}{{field.value|date:'m/d/Y'}}{% else %}{{field.value}}{% endif %}" min="{{now|date:'m/d/Y'}}" id="{{ field.auto_id }}"> 39 + <input type="text" class="form-control date-picker"name="{{field.name}}" value="{{field.value|date:'SHORT_DATE_FORMAT'}}" min="{{now|date:'SHORT_DATE_FORMAT'}}" id="{{ field.auto_id }}">
40 <span id="helpBlock" class="help-block">{{ field.help_text }}</span> 40 <span id="helpBlock" class="help-block">{{ field.help_text }}</span>
41 {% elif field.auto_id == 'id_image' or field.auto_id == 'id_curriculum'%} 41 {% elif field.auto_id == 'id_image' or field.auto_id == 'id_curriculum'%}
42 {% render_field field class='form-control input-sm' %} 42 {% render_field field class='form-control input-sm' %}