Replace hardcoded domains with primary domain setting

This commit is contained in:
Râu Cao
2023-03-18 13:43:23 +07:00
parent 34e4cec503
commit 589e46bc63
8 changed files with 9 additions and 9 deletions

View File

@@ -12,7 +12,7 @@
<section class="sm:w-1/2 grid grid-cols-2 items-center gap-y-2">
<%= form.label :user_id %>
<%= form.collection_select :user_id, User.where(ou: "kosmos.org").order(:cn), :id, :cn, {} %>
<%= form.collection_select :user_id, User.where(ou: Setting.primary_domain).order(:cn), :id, :cn, {} %>
<%= form.label :amount_sats, "Amount BTC (sats)" %>
<%= form.number_field :amount_sats %>