{% extends "layout.html" %} {% block content %}
{% if character.image_path %} {{ character.name }} {% else %} No Image Attached {% endif %}
0%
{% if preview_image %}
Latest Preview
Preview
{% else %}
Latest Preview
Preview
{% endif %}
Tags
{% for tag in character.data.tags %} {{ tag }} {% endfor %}

{{ character.name }}

Edit Profile
Back to Gallery
{% set outfits = character.get_available_outfits() %} {% if outfits|length > 1 %}
Active Outfit {{ character.active_outfit or 'default' }}
{% endif %}
{% for section, details in character.data.items() %} {% if section == 'wardrobe' %} {# Special handling for wardrobe - show active outfit #} {% set active_wardrobe = character.get_active_wardrobe() %}
Wardrobe {% if outfits|length > 1 %} {{ character.active_outfit or 'default' }} {% endif %} {% if outfits|length > 1 %} Manage Outfits {% endif %}
{% for key, value in active_wardrobe.items() %}
{{ key.replace('_', ' ') }}
{{ value if value else '--' }}
{% endfor %}
{% elif section not in ['character_id', 'tags', 'name'] and details is mapping %}
{{ section.replace('_', ' ') }}
{% if section == 'identity' %}
Character ID
{{ character.character_id }}
{% endif %} {% for key, value in details.items() %}
{{ key.replace('_', ' ') }}
{{ value if value else '--' }}
{% endfor %}
{% endif %} {% endfor %}
{% set sg_entity = character %} {% set sg_category = 'characters' %} {% set sg_has_lora = character.data.get('lora', {}).get('lora_name', '') != '' %} {% include 'partials/strengths_gallery.html' %} {% endblock %} {% block scripts %} {% endblock %}