17 lines
616 B
HTML
17 lines
616 B
HTML
{% 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 %}
|