{% extends "layout.html" %} {% block content %} {% macro selection_checkbox(section, key, label, value) %} {% endmacro %}
{% if action.image_path %} {{ action.name }} {% else %} No Image Attached {% endif %}
{# Character Selector #}
Select a character to preview this action on their model.
{# Additional Prompts #}
Seed
0%
Selected Preview
Preview
Tags
{% for tag in action.data.tags %} {{ tag }} {% else %} No tags {% endfor %}

{{ action.name }}

Edit Profile
{# Action details section #} {% set action_details = action.data.get('action', {}) %}
Action Details
{% for key, value in action_details.items() %}
{{ selection_checkbox('action', key, key.replace('_', ' '), value) }} {{ key.replace('_', ' ') }}
{{ value if value else '--' }}
{% endfor %}
{# Defaults (Pose/Expression Aggregates) #}
Prompt Aggregates (Character Overrides)
These fields will override character defaults when a character is selected.
{{ selection_checkbox('defaults', 'pose', 'Pose', True) }} Pose (Combined)
Aggregated from Action Pose fields
{{ selection_checkbox('defaults', 'expression', 'Expression', True) }} Expression (Combined)
Aggregated from Action Expression fields
{{ selection_checkbox('defaults', 'scene', 'Scene', action_details.get('additional')) }} Scene (Additional)
{{ action_details.get('additional') if action_details.get('additional') else '--' }}
{# Character Identity/Wardrobe context when character is selected #}
When a character is selected, their identity and active wardrobe fields will be automatically included based on the character's default selection.
{# LoRA section #} {% set lora = action.data.get('lora', {}) %} {% if lora %}
LoRA
{% for key, value in lora.items() %}
{{ key.replace('_', ' ') }}
{{ value if value else '--' }}
{% endfor %}
{% endif %}
{{ existing_previews|length }} preview(s)
{% set sg_has_lora = action.data.get('lora', {}).get('lora_name', '') != '' %} {% if sg_has_lora %}
{% set sg_entity = action %} {% set sg_category = 'actions' %} {% include 'partials/strengths_gallery.html' %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}