init
This commit is contained in:
16
app/templates/admin/add_category.html
Normal file
16
app/templates/admin/add_category.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends "admin/base.html" %}
|
||||
|
||||
{% block title %}Add Category - Digital Garage Sale{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Add New Category</h2>
|
||||
|
||||
<form method="post" action="{{ url_for('admin.add_category') }}">
|
||||
<div class="form-group">
|
||||
<label for="name">Category Name</label>
|
||||
<input type="text" id="name" name="name" class="form-control" required>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Add Category</button>
|
||||
<a href="{{ url_for('admin.categories') }}" class="btn" style="margin-left: 0.5rem;">Cancel</a>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user