Skip to content

Commit a74e281

Browse files
committed
add make payment btn on initial contract page
1 parent 15c3007 commit a74e281

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/algora_web/live/contract_live.ex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,12 @@ defmodule AlgoraWeb.ContractLive do
354354
</.badge>
355355
</div>
356356
<% end %>
357+
358+
<%= if @can_create_bounty && @transactions == [] do %>
359+
<.button phx-click="reward">
360+
Make payment
361+
</.button>
362+
<% end %>
357363
</div>
358364
</.card_content>
359365
</.card>

0 commit comments

Comments
 (0)