在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用tab-template
星标3
分支1
更新时间2026年2月24日 22:52
How to implement tab templates in Django Spire.
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
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