Added the capability to upload CSV files
This commit is contained in:
parent
90b02eef79
commit
d1e736d7a7
19 changed files with 678 additions and 99 deletions
28
templates/categories_new.html
Normal file
28
templates/categories_new.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Create category{% endblock title %}
|
||||
{% block body %}
|
||||
<form action="/categories/new" method="post" class="flex flex-col">
|
||||
<label class="grow">
|
||||
Name
|
||||
<input type="text" name="name" />
|
||||
</label>
|
||||
<label class="grow">
|
||||
Description
|
||||
<input type="text" name="description" />
|
||||
</label>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
<style>
|
||||
label {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
input {
|
||||
width: 100%;
|
||||
border: 1px solid black;
|
||||
border-radius: 3px;
|
||||
padding: 0.25rem;
|
||||
margin: 0.25rem;
|
||||
}
|
||||
</style>
|
||||
{% endblock body %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue