forked from Ruderverein-Donau-Linz/rowt
allow editing of boat damages
This commit is contained in:
parent
c91a329676
commit
3e327e98f1
@ -59,7 +59,7 @@
|
||||
{% else %}
|
||||
{% if loggedin_user.is_cox %}
|
||||
<form action="/boatdamage/{{ boatdamage.id }}/fixed" method="post" class="mt-3">
|
||||
<input type="hidden" name="desc" value="{{ boatdamage.desc }}" />
|
||||
<input type="text" name="desc" value="{{ boatdamage.desc }}" />
|
||||
{% if loggedin_user.is_tech %}
|
||||
<input type="submit" class="btn btn-primary" value="Repariert und verifiziert" />
|
||||
{% else %}
|
||||
@ -74,7 +74,7 @@
|
||||
{% else %}
|
||||
{% if loggedin_user.is_tech and boatdamage.fixed_at %}
|
||||
<form action="/boatdamage/{{ boatdamage.id }}/verified" method="post" class="mt-3">
|
||||
<input type="hidden" name="desc" value="{{ boatdamage.desc }}" />
|
||||
<input type="text" name="desc" value="{{ boatdamage.desc }}" />
|
||||
<input type="submit" class="btn btn-dark" value="Verifiziert" />
|
||||
</form>
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user