mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
add edit link to streams on tag page (derpibooru/philomena#204)
This commit is contained in:
parent
776be8916a
commit
a075576740
1 changed files with 5 additions and 0 deletions
|
@ -79,6 +79,11 @@
|
||||||
= for channel <- @tag.channels do
|
= for channel <- @tag.channels do
|
||||||
=> link channel.title, to: Routes.channel_path(@conn, :show, channel)
|
=> link channel.title, to: Routes.channel_path(@conn, :show, channel)
|
||||||
|
|
||||||
|
= if can?(@conn, :edit, channel) do
|
||||||
|
| (
|
||||||
|
= link "Edit", to: Routes.channel_path(@conn, :edit, channel)
|
||||||
|
' )
|
||||||
|
|
||||||
= if Enum.any?(@tag.implied_by_tags) do
|
= if Enum.any?(@tag.implied_by_tags) do
|
||||||
input.toggle-box id="implied_by" type="checkbox"
|
input.toggle-box id="implied_by" type="checkbox"
|
||||||
label for="implied_by"
|
label for="implied_by"
|
||||||
|
|
Loading…
Reference in a new issue