quickly reject user links from profile page

This commit is contained in:
byte[] 2020-09-28 10:36:27 -04:00
parent 014cb025fd
commit cb11ba082b

View file

@ -93,6 +93,9 @@
' • ' •
a href=Routes.profile_user_link_path(@conn, :edit, @user, link) a href=Routes.profile_user_link_path(@conn, :edit, @user, link)
' Edit ' Edit
' •
a href=Routes.admin_user_link_reject_path(@conn, :create, link) data-method="post"
' Reject
- else - else
=> unless link.public do => unless link.public do
br br