mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-14 05:29:43 +02:00
fixed sidebar issue
This commit is contained in:
parent
53f48ba234
commit
737851d4a6
2 changed files with 4 additions and 2 deletions
|
@ -80,6 +80,7 @@
|
||||||
{% include "includes/domain_sidenav_item.html" with item_text="Domain managers" %}
|
{% include "includes/domain_sidenav_item.html" with item_text="Domain managers" %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
||||||
|
|
||||||
{% if has_domain_renewal_flag and is_domain_manager%}
|
{% if has_domain_renewal_flag and is_domain_manager%}
|
||||||
{% if domain.is_expiring or domain.is_expired %}
|
{% if domain.is_expiring or domain.is_expired %}
|
||||||
{% with url_name="domain-renewal" %}
|
{% with url_name="domain-renewal" %}
|
||||||
|
|
|
@ -330,7 +330,6 @@ class DomainRenewalView(DomainView):
|
||||||
|
|
||||||
def post(self, request, pk):
|
def post(self, request, pk):
|
||||||
|
|
||||||
print("**** POST data:", request.POST)
|
|
||||||
domain = get_object_or_404(Domain, id=pk)
|
domain = get_object_or_404(Domain, id=pk)
|
||||||
|
|
||||||
form = DomainRenewalForm(request.POST)
|
form = DomainRenewalForm(request.POST)
|
||||||
|
@ -358,6 +357,8 @@ class DomainRenewalView(DomainView):
|
||||||
"domain": domain,
|
"domain": domain,
|
||||||
"form": form,
|
"form": form,
|
||||||
"is_editable": True,
|
"is_editable": True,
|
||||||
|
"has_domain_renewal_flag": True,
|
||||||
|
"is_domain_manager": True,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue