-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
- content_for :page_title, 'Get less email & more useful alerts' | ||
- content_for :page_title, 'Activate your subscription' | ||
|
||
.registration-page | ||
= form_tag subscriptions_path, id: 'subscription-payment-form', class: 'registration-intro' do | ||
%h1 Sift through less email and get more useful alerts | ||
%h1.page-title Activate your subscription | ||
|
||
%p You’ll get all your alerts in one email so you never have to sift through your inbox again. | ||
|
||
%p Discover new opportunities by watching as many locations as you need. | ||
|
||
%p Make sure your coverage is complete. You can easily add and edit addresses from your full list of alerts in one place. | ||
%p | ||
You need an active subscription to | ||
receive planning alerts for multiple street addresses or for commercial purposes. | ||
|
||
-# TODO: Move to head to block page until it loads | ||
%script{src: "https://checkout.stripe.com/checkout.js"} | ||
|
||
%input{type: 'hidden', name: 'stripeAmount', value: @amount} | ||
%button{disabled: true, type: 'submit', id: "button-pro-signup", data: {key: Configuration::STRIPE_PUBLISHABLE_KEY, amount: @amount, email: (@email if @email)}} | ||
%button{disabled: true, type: 'submit', class: "button-action", id: "button-pro-signup", data: {key: Configuration::STRIPE_PUBLISHABLE_KEY, amount: @amount, email: (@email if @email)}} | ||
Subscribe now #{@display_amount}/month | ||
%p No lock-in. Cancel anytime. |