mirror of
https://github.com/neocities/neocities.git
synced 2025-04-28 11:12:30 +02:00
supporter page: no flash display unless signed in
This commit is contained in:
parent
e21e20b32e
commit
b7bef2bf55
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
<section class="section plans welcome">
|
||||
<%== flash_display centered: true %>
|
||||
<% if current_site %>
|
||||
<%== flash_display centered: true %>
|
||||
<% end %>
|
||||
|
||||
<% if request.path == '/welcome' %>
|
||||
<h2>Welcome to Neocities, <%= current_site.username %>!</h2>
|
||||
|
@ -72,7 +74,7 @@
|
|||
<%== csrf_token_input_html %>
|
||||
<input type="hidden" value="supporter" name="plan_type">
|
||||
<input id="stripe_token" name="stripe_token" type="hidden" value="<%= params[:stripe_token] %>">
|
||||
<%== erb :'_card'%>
|
||||
<%== erb :'_card' %>
|
||||
<div id="upgradeDiv" class="row content txt-Center">
|
||||
<a id="upgradeLink" href="/" class="btn-Action" onclick="$('#upgradeForm').submit(); return false">
|
||||
Upgrade for $<%= Site::PLAN_FEATURES[:supporter][:price] %>/mo
|
||||
|
|
Loading…
Add table
Reference in a new issue