Created
March 21, 2014 16:09
-
-
Save jerzyn/9689660 to your computer and use it in GitHub Desktop.
Create a home page notification when the credit card details are missing
This file contains hidden or 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
| {% if current_account %} | |
| {% if current_account.credit_card_required? and current_account.credit_card_missing? %} | |
| <div class="missing_card"> | |
| <p>You have selected a paid API plan. | |
| Please <a href="{{ urls.payment_details }}">enter your credit card</a> | |
| to get access to your API key.</p> | |
| </div> | |
| {% endif %} | |
| {% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment