fix to remove button after submit

This commit is contained in:
Kyle Drake 2024-11-19 00:44:21 -06:00
parent 7363215ea7
commit d54a359b78

View file

@ -7,7 +7,9 @@
<input type="hidden" value="supporter" name="plan_type">
<input id="stripe_token" name="stripe_token" type="hidden" value="<%= params[:stripe_token] %>">
<%== erb :'_card'%>
<div id="upgradeDiv" class="row content txt-Center">
<a href="/" class="btn-Action" onclick="$('#upgradeForm').submit(); return false">Update Card</a>
</div>
</form>
<a href="/" class="btn-Action" onclick="$('#upgradeForm').submit(); return false">Update Card</a>
<%== erb :'supporter/_signupcode', layout: false %>