Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CSB Store App
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joona Erkkilä
CSB Store App
Commits
1f010b72
Commit
1f010b72
authored
1 year ago
by
Joona Erkkilä
Browse files
Options
Downloads
Patches
Plain Diff
Update admin.html
parent
0b3c1737
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/admin.html
+1
-1
1 addition, 1 deletion
templates/admin.html
with
1 addition
and
1 deletion
templates/admin.html
+
1
−
1
View file @
1f010b72
{% extends 'layout.html' %}
{% block content %}
...
...
@@ -11,6 +10,7 @@
<form
method=
"POST"
action=
"/admin/add_product"
>
<input
type=
"text"
name=
"product_name"
placeholder=
"Product Name"
required
><br>
<input
type=
"number"
name=
"price"
placeholder=
"Price"
step=
"0.01"
required
><br>
<!-- <input type="hidden" name="csrf_token" value="{{ session.csrf_token }}"> -->
<input
type=
"submit"
value=
"Add Product"
>
</form>
</body>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment