From d11617f2720451a0c016c4db86f736506da32fab Mon Sep 17 00:00:00 2001 From: cktricky Date: Sun, 16 Mar 2014 16:10:12 -0400 Subject: [PATCH] while the pay page could use further refinement from a visual aspect, it is completely working and ready for a tutorial --- app/views/pay/index.html.erb | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/app/views/pay/index.html.erb b/app/views/pay/index.html.erb index 324a108..3895d4b 100644 --- a/app/views/pay/index.html.erb +++ b/app/views/pay/index.html.erb @@ -82,13 +82,18 @@ - -
- Bank Account Number + + Encrypted Bank Account Number + <%=link_to "#", { :style => "color:#AA6F93", :id => "encrypted_acct_question"} do %> + + + + <% end %> Bank Routing Number + Percentage of Deposit @@ -267,6 +272,14 @@ $("#dd_form_btn").click(function(event) { }); }); +$("#encrypted_acct_question").click(function(event) { + event.preventDefault(); + alert("For your safety your account number is stored encrypted as well as presented to you \nin an encrypted form.\n\n" + + "For your convenience, you can decrypt your bank account number at any time using our\n" + + "conveniently located decryption function." + ) +}); + /* Make the sidebar element "Pay" active. */