cmc-sales/cmc-django/cmcsales/cmc/templates/enquiry_form.html
Karl Cordes 6ad0e74ad6 Add instructions to README for docker compose
add cmc-django
add finley to userpasswd
2025-06-03 07:28:32 +10:00

20 lines
569 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Edit Enquiry</title>
<script src="https://unpkg.com/htmx.org@1.6.1"></script>
</head>
<body>
<h1>Enquiry Form</h1>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<label for="customer">Customer:</label>
<input type="text" id="customer" name="term" hx-post="{% url 'customer_autocomplete' %}" hx-trigger="keyup changed delay:500ms" hx-target="#customer-list" autocomplete="off">
<ul id="customer-list"></ul>
<button type="submit">Save</button>
</form>
</body>
</html>