Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CS123-Canteeneo
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Willard Torres
CS123-Canteeneo
Commits
9c12df59
Commit
9c12df59
authored
Nov 16, 2016
by
Willard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add food description to stall view
parent
503ef978
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
viewstall.html
canteeneo/templates/viewstall.html
+2
-1
No files found.
canteeneo/templates/viewstall.html
View file @
9c12df59
...
...
@@ -16,12 +16,13 @@
{% if dishes|length > 0 %}
<table
class=
"table"
>
<tr>
<th>
Image
</th><th>
Name
</th><th>
Price
</th><th>
Controls
</th>
<th>
Image
</th><th>
Name
</th><th>
Description
</th><th>
Price
</th><th>
Controls
</th>
</tr>
{% for dish in dishes %}
<tr>
<td><img
width=
"160px"
height=
"160px"
src=
"{{url_for('static', filename='uploads/'+dish.image_path)}}"
alt=
""
></td>
<td>
{{dish.name}}
</td>
<td>
{{dish.description}}
</td>
<td>
Php {{dish.price}}
</td>
<td>
<form
action=
"{{ url_for('delete_dish', stall_id=stall.id, dish_id=dish.id) }}"
method=
"POST"
onsubmit=
"return confirm('Are you sure you want to delete {{dish.name}}')"
>
...
...
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