{% extends "base.html" %} {% load static %} {% block title %}Rider Detail{% endblock %} {% block content %}
{% if rider.profile_pic %} {{ rider.full_name }} {% else %}
{% endif %}
{{ rider.full_name }}

{{ rider.display_name|default:"No display name" }}

{{ rider.status|capfirst }} {% if rider.trash %}
This rider is in trash
{% endif %}
Personal Information

{{ rider.full_name }}

{{ rider.display_name|default:"Not provided" }}

{% if rider.mobile_number %} {{ rider.mobile_number }} {% else %} Not provided {% endif %}

{% if rider.email %} {{ rider.email }} {% else %} Not provided {% endif %}

{% if rider.dob %} {{ rider.dob|date:"F d, Y" }} {% else %} Not provided {% endif %}

{{ rider.status|capfirst }}


Documents
{% if rider.aadhar_front or rider.aadhar_back %}
Aadhar Card
{% if rider.aadhar_front %}
Aadhar Front
{% endif %} {% if rider.aadhar_back %}
Aadhar Back
{% endif %}
{% endif %} {% if rider.pan_card_image %}
PAN Card
PAN Card
{% endif %} {% if rider.driving_license_front or rider.driving_license_back %}
Driving License
{% if rider.driving_license_front %}
Driving License Front
{% endif %} {% if rider.driving_license_back %}
Driving License Back
{% endif %}
{% endif %} {% if not rider.aadhar_front and not rider.aadhar_back and not rider.pan_card_image and not rider.driving_license_front and not rider.driving_license_back %}

No documents uploaded

{% endif %}
{% endblock content %}