{% extends 'base.html' %} {% load crispy_forms_tags %} {% load static %} {% block content %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% comment %}

Total users registered: {{ count }}

{% endcomment %}
{% if user.is_authenticated and user.profile.user_type == 'Manager' %}

{{ user.profile.user_type }} Name - {{ user.first_name }} {{ user.last_name }}

Email id : {{ user.email}}
Contact Number : {{ user.profile.contact_number}}
{% endif %} {% if user.is_authenticated and user.profile.user_type == 'Customer' %}

{{ user.profile.user_type }} Name - {{ user.first_name }} {{ user.last_name }}

Email id : {{ user.email}}
Contact Number : {{ user.profile.contact_number}}
{% endif %}

Contact Us

{{ title }}

{% if confirm_message %}

{{ confirm_message }}

{% endif %} {% if form %}
{% csrf_token %}
{{ form.name|as_crispy_field }}
{{ form.subject|as_crispy_field }}
{{ form.email|as_crispy_field }}
{{ form.message|as_crispy_field }}
{% endif %} {% endblock %}