{% extends 'base.html' %} {% load crispy_forms_tags %} {% load templatetags %} {% block content %} {% if user.is_authenticated and user.profile.user_type == 'Manager' %}
{% for data in customerinfo %} {% if data.user_type == 'Customer' %} {% endif %} {% endfor %}
Customer Name Contact Number Address Email id
{{ data.user.first_name}} {{data.user.last_name }} {{ data.contact_number}} {{ data.address }} {{ data.user.email}}
{% endif %} {% endblock %}