already in issue #4
This commit is contained in:
parent
9389353b51
commit
5269c98095
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user