Standard
This commit is contained in:
@@ -16,11 +16,11 @@ module Admin
|
|||||||
.commit
|
.commit
|
||||||
|
|
||||||
next if posts
|
next if posts
|
||||||
.post_tags
|
.post_tags
|
||||||
.where(
|
.where(
|
||||||
post_id: post_id,
|
post_id: post_id,
|
||||||
tag_id: tag[:id]
|
tag_id: tag[:id]
|
||||||
).count > 0
|
).count > 0
|
||||||
|
|
||||||
posts.post_tags.changeset(:create, {
|
posts.post_tags.changeset(:create, {
|
||||||
post_id: post_id,
|
post_id: post_id,
|
||||||
|
@@ -19,7 +19,8 @@ div class="max-w-prose mx-auto" x-data="{ activeTab: 0 }"
|
|||||||
tr id="bookmark-#{bookmark.id}"
|
tr id="bookmark-#{bookmark.id}"
|
||||||
td
|
td
|
||||||
div
|
div
|
||||||
= bookmark.name
|
a href="/bookmark/#{bookmark.slug}"
|
||||||
|
= bookmark.name
|
||||||
a class="no-underline" href=bookmark.url
|
a class="no-underline" href=bookmark.url
|
||||||
small class="text-gray-400 dark:text-gray-600" = bookmark.url
|
small class="text-gray-400 dark:text-gray-600" = bookmark.url
|
||||||
div
|
div
|
||||||
|
Reference in New Issue
Block a user