{% extends 'base.html' %} {% load static %} {% load humanize %} {% block content %} Update Customer - {{customer.first_name|upper}} {{customer.last_name|upper}} All fields marked with an asterisk (*) are required Go Back {% include 'partials/_messages.html' %} {% csrf_token %} Personal Details Email Address First Name Last Name Mobile Language Select language {% for lang in language_list %} {{ lang.code }} - {{ lang.name }} {% endfor %} Customer Status {% for customer_status in customer_status_list %} {% if old_input_field_values %} {% if customer_status|lower == old_input_field_values.customer_status|lower %} {{customer_status|upper}} {% else %} {{customer_status|upper}} {% endif %} {% else %} {% if customer_status == customer.customer_status %} {{customer_status|upper}} {% else %} {{customer_status|upper}} {% endif %} {% endif %} {% endfor %} Save Changes Clear {% endblock %}