Skip to content

Commit

Permalink
feat(users): support for birthdate II
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Dec 17, 2023
1 parent 4337193 commit c714c77
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions fiesta/apps/accounts/templates/accounts/user_profile/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ <h1 class="card-title pb-1 mb-3 border-b-2">{% trans "Basic information" %}</h1>
<td class="font-semibold pr-4 md:pr-12">Gender:</td>
<td>{{ profile.gender }}</td>
</tr>
<tr>
<td class="font-semibold pr-4 md:pr-12">Birth date:</td>
<td>{{ profile.birth_date }}</td>
</tr>
{% if profile.birth_date %}
<tr>
<td class="font-semibold pr-4 md:pr-12">Birth date:</td>
<td>{{ profile.birth_date }}</td>
</tr>
{% endif %}
<tr>
<td class="font-semibold pr-4 md:pr-12">Joined:</td>
<td>{{ user.date_joined }}</td>
Expand Down

0 comments on commit c714c77

Please sign in to comment.