원클릭으로
tab-template
How to implement tab templates in Django Spire.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
How to implement tab templates in Django Spire.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Service layer best practices on django models
How to implement badges in html templates.
How to implement Django Spire buttons in HTML templates.
How to implement container templates in Django Spire.
How to implement table templates in Django Spire.
Best practice for working with Django models
| name | tab-template |
| description | How to implement tab templates in Django Spire. |
└── template/
└── partner/
└── tab/
├── tabs.html
├── contact_tab.html
├── work_tab.html
└── notes_tab.html
For each tab section, you must create a dedicated template that extends the Django Spire tab section element:
templates/partner/tab/tabs.html
{% extends 'django_spire/tab/tab.html' %}
{% block tab_triggers %}
{% include 'django_spire/tab/element/tab_trigger_element.html' with trigger_title='Contacts' %}
{% include 'django_spire/tab/element/tab_trigger_element.html' with trigger_title='Work' %}
{% include 'django_spire/tab/element/tab_trigger_element.html' with trigger_title='Notes' %}
{% endblock %}
{% block tab_sections %}
{% include 'partner/tab/contact_tab.html' %}
{% include 'partner/tab/work_tab.html' %}
{% include 'partner/tab/notes_tab.html' %}
{% endblock %}
Each tab section should extend the base tab section element:
templates/partner/tab/contact_tab.html
{% extends 'django_spire/tab/element/tab_section_element.html' %}
{% block tab_section_content %}
<h3>Partner Contacts</h3>
<p>Contact information would go here.</p>
{% endblock %}
templates/partner/tab/work_tab.html
{% extends 'django_spire/tab/element/tab_section_element.html' %}
{% block tab_section_content %}
<h3>Partner Work Information</h3>
<p>Work details would go here.</p>
{% endblock %}
templates/partner/tab/notes_tab.html
{% extends 'django_spire/tab/element/tab_section_element.html' %}
{% block tab_section_content %}
<h3>Partner Notes</h3>
<p>Notes and comments would go here.</p>
{% endblock %}
django_spire/tab/element/tab_section_element.html