Update ids for the preview modal in the admin panel.
This commit is contained in:
@@ -19,12 +19,12 @@
|
||||
Edit
|
||||
</button>
|
||||
<button type="button"
|
||||
@click="$dispatch('preview_article', { title: '{{ article.title }}', created: created })"
|
||||
@click="$dispatch('preview_article', { title: title, created: created })"
|
||||
hx-get="/htmx/admin/modals/article/content/{{ article.id }}/"
|
||||
hx-swap="outerHTML"
|
||||
hx-target="#read-drawer-label-content"
|
||||
data-drawer-target="drawer-read-product-advanced"
|
||||
data-drawer-show="drawer-read-product-advanced"
|
||||
hx-target="#read-drawer-content"
|
||||
data-drawer-target="drawer-read-article-advanced"
|
||||
data-drawer-show="drawer-read-article-advanced"
|
||||
class="py-2 px-3 flex items-center text-sm font-medium text-center text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-primary-700 focus:z-10 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor" class="w-4 h-4 mr-2 -ml-0.5">
|
||||
<path d="M12 15a3 3 0 100-6 3 3 0 000 6z" />
|
||||
|
||||
Reference in New Issue
Block a user