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
411d9a2d
Commit
411d9a2d
authored
Nov 16, 2016
by
Willard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Readd edit button on dish
parent
9c12df59
Changes
1
Hide 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 @
411d9a2d
...
...
@@ -25,8 +25,9 @@
<td>
{{dish.description}}
</td>
<td>
Php {{dish.price}}
</td>
<td>
<a
class=
"btn btn-primary btn-block btn-lg "
href=
"{{ url_for('edit_dish', stall_id=stall.id, dish_id=dish.id) }}"
>
Edit
</a>
<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}}')"
>
<button
type=
"submit"
class=
"btn btn-danger btn-lg"
>
Delete
</button></a>
<button
type=
"submit"
class=
"btn btn-danger btn-
block btn-
lg"
>
Delete
</button></a>
</form>
</td>
</tr>
...
...
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