Skip to content

Commit

Permalink
Program Flexible Pricing approval page (#917)
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav authored Aug 31, 2022
1 parent 1be9928 commit 3c2732a
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions cms/templates/flexiblepricing/flexible_pricing_request_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,23 @@ <h4 class="tell-us-about-your-income">Tell us about your income</h4>
{{ page.application_approved_text|richtext }}
</div>
{% endif %}{# end discount amount text #}
<form action="/cart/add/" method="get" className="text-center">
{% if page.selected_program %}
<input type="hidden" name="program_id" value={{ page.selected_program.id }} />
{% elif page.selected_course %}

{% if page.selected_course %}
<form action="/cart/add/" method="get" className="text-center">
<input type="hidden" name="course_id" value={{ page.selected_course.id }} />
{% endif %}
<button
<button
type="submit"
class="btn btn-primary btn-gradient-red flexible-price-certificate-btn"
>
class="btn btn-primary btn-gradient-red flexible-price-certificate-btn">
Get Certificate
</button>
</form>
</button>
</form>
{% elif page.selected_program %}
<a href="/dashboard" class="btn btn-primary btn-gradient-red flexible-price-certificate-btn">
Go to Dashboard
</a>
{% endif %}


{% elif prior_request.is_denied %}
<div class="flexible-pricing-head">
{{ page.application_denied_text|richtext }}
Expand Down

0 comments on commit 3c2732a

Please sign in to comment.