mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 18:56:15 +02:00
added code to break up text on modal
This commit is contained in:
parent
25b460c724
commit
e96da61d55
1 changed files with 2 additions and 2 deletions
|
@ -382,8 +382,8 @@ class DomainRequestWizard(DomainRequestWizardPermissionView, TemplateView):
|
|||
text_domain_name = str(requested_domain_name) if requested_domain_name is not None else None
|
||||
|
||||
if text_domain_name and len(text_domain_name) > 30:
|
||||
text_domain_name = text_domain_name[:27] + "..."
|
||||
|
||||
text_domain_name = text_domain_name[:30] + "\n" + text_domain_name[30:]
|
||||
|
||||
context_stuff = {}
|
||||
if DomainRequest._form_complete(self.domain_request, self.request):
|
||||
modal_button = '<button type="submit" ' 'class="usa-button" ' ">Submit request</button>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue