already in issue #4

This commit is contained in:
koksnuss 2020-05-11 10:44:50 +02:00
parent 9389353b51
commit 5269c98095
2 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,6 @@ div.{{ user.name }} {
<input type="text" name="user" id="text_user" class="form-control">
</div>
<div class="form-group">
<!-- TODO add colorpicker -->
<label for="text_color">Farbe</label>
<input type="text" name="color" id="text_color" class="form-control">
</div>

View File

@ -290,6 +290,7 @@ def add_coin(request):
circulation = int(request.POST['circulation'])
except ValueError:
circulation = 0
# TODO sollte es dann nicht einen Fehler geben?
if circulation != 0:
if circulation < 0:
status = 1