{% extends 'base.html' %} {% load static %} {% block style %} {% endblock %} {% block title %} All Customers {% endblock %} {% block header %} {% include 'components/header.html' %} {% endblock %} {% block content %} {% if user.is_authenticated %}

Your Profile


Username:  {{ user.username }}

email:  {{ user.email }}

CNIC:  {{ user.cnic }}

Phone Number:  {{ user.PhoneNo }}

{% if request.user.is_authenticated %}

Vehicle List


{% csrf_token %} {% load crispy_forms_tags %}
{{ form.regNo|as_crispy_field }}


{% for vehicle in vehicles %} {% if page == 'show' %} {% elif page == 'update' %} {% endif %} {# #} {% endfor %}
id Registration No.
{{ vehicle.id }}
{{ vehicle.registrationNo }}
{{ vehicle.registrationNo }}
{% endif %}
{% endif %} {% endblock %} {% block footer %} {% include 'components/footer.html' %} {% endblock %}