Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GrabGrub
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Matthew Dominic M. Dizon
GrabGrub
Commits
04ee3338
Commit
04ee3338
authored
May 27, 2021
by
Matthew Dizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
message errors when food or customer name exists
parent
e4801b6b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
update_customer.html
GrabGrub/Kiosk/templates/Kiosk/update_customer.html
+3
-0
update_food.html
GrabGrub/Kiosk/templates/Kiosk/update_food.html
+3
-0
No files found.
GrabGrub/Kiosk/templates/Kiosk/update_customer.html
View file @
04ee3338
...
@@ -24,4 +24,7 @@
...
@@ -24,4 +24,7 @@
</div>
</div>
<br>
<br>
<a
href=
"{% url 'view_customer_details' customer.pk %}"
><button
class=
"btn btn-secondary"
>
Back
</button></a>
<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 %}
{% endblock %}
GrabGrub/Kiosk/templates/Kiosk/update_food.html
View file @
04ee3338
...
@@ -30,4 +30,7 @@
...
@@ -30,4 +30,7 @@
</div>
</div>
<br>
<br>
<a
href=
"{% url 'view_food_details' food.pk %}"
><button
class=
"btn btn-secondary"
>
Back
</button></a>
<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 %}
{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment