{% extends 'base.html' %} {% load static %} {% block content %}
Edit Rider
{% csrf_token %} {% if form %} {{ form.non_field_errors }} {{ form.as_p }}
Cancel
{% else %}
{% if rider.profile_pic %}
Current profile picture Current profile picture
{% endif %}
Document Uploads
{% if rider.aadhar_front %}
Current Aadhar front Current document
{% endif %}
{% if rider.aadhar_back %}
Current Aadhar back Current document
{% endif %}
{% if rider.pan_card_image %}
Current PAN card Current document
{% endif %}
{% if rider.driving_license_front %}
Current license front Current document
{% endif %}
{% if rider.driving_license_back %}
Current license back Current document
{% endif %}
Cancel
{% endif %}
{% endblock %}