mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
missing link to add listing item
This commit is contained in:
parent
0da19674d1
commit
574ff7d1d3
1 changed files with 4 additions and 1 deletions
|
@ -2,6 +2,9 @@
|
||||||
.block__header
|
.block__header
|
||||||
span.block__header__title Available Items and Prices
|
span.block__header__title Available Items and Prices
|
||||||
|
|
||||||
|
= if current?(@user, @conn.assigns.current_user) do
|
||||||
|
= link "Add an item", to: Routes.profile_commission_item_path(@conn, :new, @user)
|
||||||
|
|
||||||
.block__content
|
.block__content
|
||||||
|
|
||||||
= if not Enum.any?(@commission.items) do
|
= if not Enum.any?(@commission.items) do
|
||||||
|
|
Loading…
Reference in a new issue