Skip to content
Snippets Groups Projects
Commit 2d12b2a1 authored by Frank Poetzsch-Heffter's avatar Frank Poetzsch-Heffter
Browse files

costcenter form in new layout

parent 7fa1d860
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
<th>Antragsteller</th>
<th>Anschaffungswunsch</th>
<th>Geplante Kosten</th>
<th>Zugeordnete Kostenstelle</th>
<th>Buchungskonto</th>
<th>Aktionen</th>
</tr>
</thead>
......@@ -26,8 +26,9 @@
{% for booking in filter.qs %}
<tr>
<form method="POST">
<form method="POST" action="">
{% csrf_token %}
<input type="hidden" value="{{ booking.id }}" name="booking-id">
{% if booking.status < 2 %}
<td>{{ booking.contact }}</td>
......@@ -41,9 +42,10 @@
class="waves-effect waves-light btn-flat btn-flat-medium" title="Annehmen">
<i class="material-icons center green-text">check_circle</i>
</button>
{% endif %}
{% if booking.status < 3 %}
<button type="submit" name="deny"
<button type="submit" name="deny" value="Blubb"
class="waves-effect waves-light btn-flat btn-flat-medium" title="Ablehnen">
<i class="material-icons center red-text">not_interested</i>
</button>
......
......@@ -24,7 +24,8 @@
{% form form=form %}
{% part form.planned_amount prefix %}<i class="material-icons prefix">euro_symbol</i>
{% endpart %}
{% endform %} </div>
{% endform %}
</div>
<div class="modal-footer">
<button type="submit" class="waves-effect waves-light btn green">
<i class="material-icons left">send</i> Antrag stellen
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment