Skip to content

Commit

Permalink
added link to edit lesson within collections.edit lessons list
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgobich committed Jun 16, 2024
1 parent 42ba2ef commit ab6dd70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/studio/collections/createOrEdit.edge
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
<template x-for="(post, y) in subcollection.posts" :key="post.id">
<li class="flex justify-between">
<input type="hidden" :name="`subcollectionPostIds[${x}][]`" :value="post.id" />
<span x-text="post.title" class="text-sm"></span>
<a :href="`/posts/${post.id}/edit`" x-text="post.title" class="text-sm hover:underline" target="_blank"></a>
<button type="button" class="text-red-700" @click="removePost(post, subcollection)">
&times;
</button>
Expand Down Expand Up @@ -315,7 +315,7 @@
<template x-for="post in posts" :key="post.id">
<li class="flex justify-between">
<input type="hidden" name="postIds[]" :value="post.id" />
<span x-text="post.title" class="text-sm"></span>
<a :href="`/posts/${post.id}/edit`" x-text="post.title" class="text-sm hover:underline" target="_blank"></a>
<button type="button" class="text-red-700" @click="removePost(post)">
&times;
</button>
Expand Down

0 comments on commit ab6dd70

Please sign in to comment.