[collector] can now collect Teile and list them
If a newly entered Teil already exists, we ignore that and do nothing. "name" could become a primary key...
This commit is contained in:
parent
1870d50ccf
commit
27c9a3a35b
4 changed files with 39 additions and 1 deletions
|
|
@ -15,3 +15,9 @@
|
|||
<p>Keine Teile da.</p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
<form method="POST" action="{% url 'collector:enter' %}">
|
||||
{% csrf_token %}
|
||||
<input type="text" name="new_name" value="">
|
||||
<input type="submit" name="submit" value="add new Teil">
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue