hanze/muizenval

fixed "user has no attribute contact_class()" (04cc52d86046a00f21b75010ef836eccbc7294e2)
Repositories

commit 04cc52d86046a00f21b75010ef836eccbc7294e2
parent 9dc2bcbc22bea15710841249991446b6653880d4
Author: Friedel Schön <[email protected]>
Date:   Wed, 18 May 2022 11:52:00 +0200

fixed "user has no attribute contact_class()"

Diffstat:
Mserver/templates/layout.html2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/server/templates/layout.html b/server/templates/layout.html @@ -102,6 +102,7 @@ </p> {% endif %} </div> + {% if current_user.is_authenticated %} {% with contact = current_user.contact_class() %} {% if contact %} <div class="content-section"> @@ -121,6 +122,7 @@ </div> {% endif %} {% endwith %} + {% endif %} </div> </div> </main>