Commit 04ee3338 authored by Matthew Dizon's avatar Matthew Dizon

message errors when food or customer name exists

parent e4801b6b
......@@ -24,4 +24,7 @@
</div>
<br>
<a href="{% url 'view_customer_details' customer.pk %}"><button class="btn btn-secondary">Back</button></a>
{% if message %}
<p class="mt-3 alert alert-danger" style="width: 75%"> {{message}}</p>
{% endif %}
{% endblock %}
......@@ -30,4 +30,7 @@
</div>
<br>
<a href="{% url 'view_food_details' food.pk %}"><button class="btn btn-secondary">Back</button></a>
{% if message %}
<p class="mt-3 alert alert-danger" style="width: 75%"> {{message}}</p>
{% endif %}
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment