Forgot these

Stephen Paul Weber created

Change summary

forms/alt_top_up/bch.rb           |  5 +++++
forms/alt_top_up/bch_addresses.rb | 15 +++++++++++++++
2 files changed, 20 insertions(+)

Detailed changes

forms/alt_top_up/bch.rb 🔗

@@ -0,0 +1,5 @@
+result!
+title "New Bitcoin Cash Address"
+instructions "Your new address has been created"
+
+render "alt_top_up/bch_addresses"

forms/alt_top_up/bch_addresses.rb 🔗

@@ -0,0 +1,15 @@
+DESCRIPTION =
+	"You can make a Bitcoin Cash payment of any amount to any " \
+	"of these addresses and it will be credited to your " \
+	"account at the Canadian Bitcoins exchange rate within 5 " \
+	"minutes of your transaction reaching 3 confirmations.".freeze
+
+if @bch_addresses && !@bch_addresses.empty?
+	field(
+		var: "bch_addresses",
+		type: "fixed",
+		label: "Bitcoin Cash Addresses",
+		description: DESCRIPTION,
+		value: @bch_addresses
+	)
+end