{% extends 'index.html' %} {% load static %} {% block body %} {% ifequal error "create" %} {% endifequal %} Add Doctor {% csrf_token %} {% if not doctor %} First Name Last Name Username Password {% endif %} Email Contact Address Image {% if doctor %}{{doctor.image.url}}{% endif %} Specialist Register Doctor {% endblock %}