fixed premium index error

This commit is contained in:
flash 2016-12-23 20:17:54 +01:00
parent 096bfab18a
commit 868e2e25a7

View file

@ -22,7 +22,7 @@
Our transactions are handled through PayPal.
</div>
</div>
{% if user.isActive and user.verified %}
{% if user.isActive %}
<div class="slider">
<input class="input__range" type="range" min="1" max="{{ amountLimit }}" value="1" onchange="document.getElementById('monthsNo').value = this.value; document.getElementById('monthNoBtn').innerText = this.value; document.getElementById('monthsTrailingS').innerText = (this.value == 1 ? '' : 's'); document.getElementById('totalAmount').innerText = (this.value * {{ price }});">
</div>
@ -41,7 +41,7 @@
<h1 style="text-align: center; margin: 1em auto;">You need to be logged in to get Tenshi!</h1>
{% endif %}
</div>
{% if user.isActive and user.verified %}
{% if user.isActive %}
<form action="{{ route('premium.purchase') }}" method="post" id="purchaseForm" class="hidden">
<input type="hidden" name="mode" value="purchase">
<input type="hidden" name="time" value="{{ date().timestamp }}">