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">
|
<input type="text" name="user" id="text_user" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<!-- TODO add colorpicker -->
|
|
||||||
<label for="text_color">Farbe</label>
|
<label for="text_color">Farbe</label>
|
||||||
<input type="text" name="color" id="text_color" class="form-control">
|
<input type="text" name="color" id="text_color" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
|
@ -290,6 +290,7 @@ def add_coin(request):
|
|||||||
circulation = int(request.POST['circulation'])
|
circulation = int(request.POST['circulation'])
|
||||||
except ValueError:
|
except ValueError:
|
||||||
circulation = 0
|
circulation = 0
|
||||||
|
# TODO sollte es dann nicht einen Fehler geben?
|
||||||
if circulation != 0:
|
if circulation != 0:
|
||||||
if circulation < 0:
|
if circulation < 0:
|
||||||
status = 1
|
status = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user