Add conditional logic to show Edit Account link

This commit is contained in:
leigh-mil
2018-10-26 15:18:12 -04:00
parent c8dd49e8fc
commit 3d4e8f4088
2 changed files with 5 additions and 1 deletions

View File

@@ -30,7 +30,9 @@
<dd>{{ member.user.email }}</dd>
</div>
</dl>
<a href='#' class='icon-link'>edit account details</a>
{% if editable %}
<a href='#' class='icon-link'>edit account details</a>
{% endif %}
</div>
</div>