Skip to content

Commit

Permalink
feat(sample_project): tabbed relations for person
Browse files Browse the repository at this point in the history
Person - view and edit pages list relations in a tabbed format by
overriding relations-include block in col-one
  • Loading branch information
gythaogg committed Oct 23, 2024
1 parent a6d7030 commit ff675bd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sample_project/templates/sample_project/person_detail.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "apis_core/apis_entities/abstractentity_detail.html" %}

{% block relations-include %}
{% include "relations/list_relations_include_tabs.html" %}
{% endblock relations-include %}
5 changes: 5 additions & 0 deletions sample_project/templates/sample_project/person_form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "apis_core/apis_entities/abstractentity_form.html" %}

{% block relations-include %}
{% include "relations/list_relations_include_tabs.html" with edit=True %}
{% endblock relations-include %}

0 comments on commit ff675bd

Please sign in to comment.