-
- {% include 'partials/last_edited.html' with target="person_history" %}
+
+
+
+ {% include 'partials/last_edited.html' with target="person_history" %}
+
{% endblock %}
{% endif %}
diff --git a/RIGS/templates/person_list.html b/RIGS/templates/person_list.html
index 296dfb47..56667863 100644
--- a/RIGS/templates/person_list.html
+++ b/RIGS/templates/person_list.html
@@ -1,16 +1,10 @@
{% extends request.is_ajax|yesno:"base_ajax.html,base_rigs.html" %}
-{% load widget_tweaks %}
-{% load paginator from filters %}
-{% load url_replace from filters %}
-{% load orderby from filters %}
{% block title %}People{% endblock %}
{% block content %}
-
- {% include 'partials/generic_list.html' with edit="person_update" detail="person_detail" create="person_create" %}
+
+
People
+
+{% include 'partials/generic_list.html' with edit="person_update" detail="person_detail" create="person_create" %}
{% endblock %}
diff --git a/RIGS/templates/rigboard.html b/RIGS/templates/rigboard.html
index c6d8c087..0515f866 100644
--- a/RIGS/templates/rigboard.html
+++ b/RIGS/templates/rigboard.html
@@ -3,14 +3,14 @@
{% block title %}Rigboard{% endblock %}
{% block content %}
-
Rigboard
- {% if perms.RIGS.add_event %}
-
New
- {% endif %}
-
- {% include 'event_table.html' %}
-
-
- {% include 'event_table_mobile.html' %}
-
+
Rigboard
+{% if perms.RIGS.add_event %}
+
New
+{% endif %}
+
+ {% include 'event_table.html' %}
+
+
+ {% include 'event_table_mobile.html' %}
+
{% endblock %}
diff --git a/RIGS/templates/venue_list.html b/RIGS/templates/venue_list.html
index 6554540c..088248ef 100644
--- a/RIGS/templates/venue_list.html
+++ b/RIGS/templates/venue_list.html
@@ -1,16 +1,10 @@
{% extends request.is_ajax|yesno:"base_ajax.html,base_rigs.html" %}
-{% load widget_tweaks %}
-{% load paginator from filters %}
-{% load url_replace from filters %}
-{% load orderby from filters %}
{% block title %}Venues{% endblock %}
{% block content %}
-
- {% include 'partials/generic_list.html' with edit="venue_update" detail="venue_detail" create="venue_create" %}
+
+
Venues
+
+{% include 'partials/generic_list.html' with edit="venue_update" detail="venue_detail" create="venue_create" %}
{% endblock %}
diff --git a/RIGS/urls.py b/RIGS/urls.py
index 55d0cd79..d63b706c 100644
--- a/RIGS/urls.py
+++ b/RIGS/urls.py
@@ -106,7 +106,7 @@ urlpatterns = [
path('invoice/
/delete/', permission_required_with_403('RIGS.change_invoice')(finance.InvoiceDelete.as_view()),
name='invoice_delete'),
path('invoice/(/history/', permission_required_with_403('RIGS.view_invoice')(versioning.VersionHistory.as_view()),
- name='invoice_history', kwargs={'model': models.Invoice}),
+ name='invoice_history', kwargs={'model': models.Invoice}),
path('payment/create/', permission_required_with_403('RIGS.add_payment')(finance.PaymentCreate.as_view()),
name='payment_create'),
diff --git a/RIGS/views.py b/RIGS/views.py
index e92fffa1..85700150 100644
--- a/RIGS/views.py
+++ b/RIGS/views.py
@@ -104,6 +104,7 @@ class PersonDetail(generic.DetailView):
class PersonCreate(generic.CreateView):
+ template_name = 'person_form.html'
model = models.Person
fields = ['name', 'phone', 'email', 'address', 'notes']
@@ -121,6 +122,7 @@ class PersonCreate(generic.CreateView):
class PersonUpdate(generic.UpdateView):
+ template_name = 'person_form.html'
model = models.Person
fields = ['name', 'phone', 'email', 'address', 'notes']
diff --git a/assets/templates/supplier_list.html b/assets/templates/supplier_list.html
index e7826c4f..d0241761 100644
--- a/assets/templates/supplier_list.html
+++ b/assets/templates/supplier_list.html
@@ -4,11 +4,8 @@
{% load widget_tweaks %}
{% block content %}
-
-