-
-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
npx eslint --fix corehq/apps/domain/templates/domain/renew_plan.html
- Loading branch information
Showing
1 changed file
with
23 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,51 @@ | ||
{% extends "domain/base_change_plan.html" %} | ||
{% load hq_shared_tags %} | ||
|
||
{% load i18n %} | ||
{% load compress %} | ||
{% load menu_tags %} | ||
|
||
{% requirejs_main 'accounting/js/renew_plan_selection' %} | ||
|
||
{% block plan_breadcrumbs %}{% endblock %} | ||
{% block plan_breadcrumbs %} | ||
{% endblock %} | ||
|
||
{% block form_content %} | ||
{% initial_page_data 'renewal_choices' renewal_choices %} | ||
{% initial_page_data 'is_annual_plan' is_annual_plan %} | ||
{% initial_page_data 'is_self_renewable_plan' is_self_renewable_plan %} | ||
|
||
<p class="lead text-center">{% blocktrans with plan.name as p %}You are renewing your <strong>{{ p }}</strong> subscription.{% endblocktrans %}</p> | ||
|
||
<form class="form" | ||
method="post" action="{% url 'domain_subscription_renewal_confirmation' domain %}"> | ||
<p class="lead text-center"> | ||
{% blocktrans with plan.name as p %} | ||
You are renewing your <strong>{{ p }}</strong> subscription. | ||
{% endblocktrans %} | ||
</p> | ||
|
||
<form | ||
class="form" | ||
method="post" | ||
action="{% url 'domain_subscription_renewal_confirmation' domain %}" | ||
> | ||
{% csrf_token %} | ||
|
||
{% if is_self_renewable_plan %} | ||
{% include 'accounting/partials/renew_plan_selection.html' %} | ||
{% include 'accounting/partials/renew_plan_selection.html' %} | ||
{% else %} | ||
{% include 'accounting/partials/confirm_plan_summary.html' %} | ||
{% include 'accounting/partials/confirm_plan_summary.html' %} | ||
{% endif %} | ||
|
||
<input type="hidden" name="from_plan_page" value="true" /> | ||
<input type="hidden" name="plan_edition" value="{{ current_edition }}"> | ||
<input type="hidden" name="plan_edition" value="{{ current_edition }}" /> | ||
|
||
<div class="text-center plan-next"> | ||
{% if downgrade_messages %} | ||
<a class="btn btn-default btn-lg" href="{% url 'custom_plan_request_quote' domain %}">{% trans 'Talk to Sales' %} | ||
<a | ||
class="btn btn-default btn-lg" | ||
href="{% url 'custom_plan_request_quote' domain %}" | ||
>{% trans 'Talk to Sales' %} | ||
</a> | ||
{% endif %} | ||
<button type="submit" | ||
class="btn btn-primary btn-lg"> | ||
{% trans 'Next' %}</button> | ||
<button type="submit" class="btn btn-primary btn-lg"> | ||
{% trans 'Next' %} | ||
</button> | ||
</div> | ||
</form> | ||
{% endblock %} |