mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-08 16:09:40 +00:00
Added event items to the event form.
Need to get this working, thinking probably best to serialize the data and submit it that way so changes are only saved on update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<tr id="item-{{item.pk}}" data-url="{#% url item_row item.pk %#}" data-pk="{{item.pk}}">
|
||||
<tr id="item-{{item.pk}}" data-url="{% url 'api_secure' item.pk %}" data-pk="{{item.pk}}">
|
||||
<td>
|
||||
{{ item.name }}
|
||||
{% if item.description %}
|
||||
@@ -9,7 +9,7 @@
|
||||
<td>£ {{item.cost}}</td>
|
||||
<td>{{item.quantity}}</td>
|
||||
<td class="sub-total" data-subtotal="{{item.total_cost}}">£ {{item.total_cost}}</td>
|
||||
{% if response.edit %}
|
||||
{% if edit %}
|
||||
<td class="vert-align text-right">
|
||||
<button type="button" class="item-edit btn btn-xs btn-default"
|
||||
data-pk="{{item.pk}}"
|
||||
|
||||
Reference in New Issue
Block a user