{# templates/components/manga_modal.html.twig #}
<div id="manga-modal" style="display: {{ manga ? 'block' : 'none' }};">
    <div class="modal-content">
        <span class="close-button" data-action="live#action" data-live-action-param="close">&times;</span>
        {% if manga %}
            <h2>{{ manga.title }}</h2>
            <p><strong>Year:</strong> {{ manga.publicationYear }}</p>
            <p>{{ manga.description }}</p>
            <button data-action="live#action" data-live-action-param="saveManga">Save Manga</button>
        {% endif %}
    </div>
</div>
