- trop de trucs d'un coup... je vais faire attention ensuite ^^'
This commit is contained in:
12
templates/components/AddMangaModal.html.twig
Normal file
12
templates/components/AddMangaModal.html.twig
Normal file
@@ -0,0 +1,12 @@
|
||||
{# 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">×</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>
|
||||
Reference in New Issue
Block a user