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