diff --git a/templates/audit_log/audit_log.html b/templates/audit_log/audit_log.html
index 73a7443c..37edf908 100644
--- a/templates/audit_log/audit_log.html
+++ b/templates/audit_log/audit_log.html
@@ -2,24 +2,5 @@
{% from "components/pagination.html" import Pagination %}
{% block content %}
-
-
-
-
-
-
- {% for event in audit_events %}
- -
- {% autoescape false %}
- {{ event | renderAuditEvent }}
- {% endautoescape %}
-
- {% endfor %}
-
-
-
- {{ Pagination(audit_events, 'atst.activity_history') }}
-
+ {% include "fragments/audit_events_log.html" %}
{% endblock %}
diff --git a/templates/fragments/audit_events_log.html b/templates/fragments/audit_events_log.html
new file mode 100644
index 00000000..2c4bb440
--- /dev/null
+++ b/templates/fragments/audit_events_log.html
@@ -0,0 +1,21 @@
+{% from "components/pagination.html" import Pagination %}
+
+
+
+
+
+
+ {% for event in audit_events %}
+ -
+ {% autoescape false %}
+ {{ event | renderAuditEvent }}
+ {% endautoescape %}
+
+ {% endfor %}
+
+
+
+ {{ Pagination(audit_events, 'workspaces.workspace_activity', workspace_id=workspace_id) }}
+
diff --git a/templates/workspaces/activity/index.html b/templates/workspaces/activity/index.html
index bce6217e..e97d5d37 100644
--- a/templates/workspaces/activity/index.html
+++ b/templates/workspaces/activity/index.html
@@ -2,24 +2,5 @@
{% from "components/pagination.html" import Pagination %}
{% block workspace_content %}
-
-
-
-
-
-
- {% for event in audit_events %}
- -
- {% autoescape false %}
- {{ event | renderAuditEvent }}
- {% endautoescape %}
-
- {% endfor %}
-
-
-
- {{ Pagination(audit_events, 'workspaces.workspace_activity', workspace_id=workspace_id) }}
-
+ {% include "fragments/audit_events_log.html" %}
{% endblock %}