From 878ddf7301184f9f5ff56da27e4d3e110b096e9b Mon Sep 17 00:00:00 2001 From: Paul Lanctot Date: Tue, 13 Jul 2021 17:39:09 -0700 Subject: [PATCH] fix: remove all but the general debt dispute tool --- controllers/DisputeToolsController.js | 10 ++-------- .../defaulted.pug | 2 +- .../non-defaulted.pug | 2 +- views/dispute-tools/index.pug | 17 ----------------- 4 files changed, 4 insertions(+), 27 deletions(-) diff --git a/controllers/DisputeToolsController.js b/controllers/DisputeToolsController.js index 9e72c4a8..94abd61f 100644 --- a/controllers/DisputeToolsController.js +++ b/controllers/DisputeToolsController.js @@ -48,16 +48,10 @@ const DisputeToolsController = Class('DisputeToolsController').inherits(RestfulC DisputeTool.query() .orderBy('id', 'ASC') .then(disputeTools => { - res.locals.disputeTools = new Array(5).fill(null); + res.locals.disputeTools = new Array(1).fill(null); disputeTools.forEach(disputeTool => { - const slugOrder = [ - 'general-debt-dispute', - 'credit-report-dispute', - 'wage-garnishment-dispute', - 'tax-offset-dispute', - 'private-student-loan-dispute', - ]; + const slugOrder = ['general-debt-dispute']; const index = slugOrder.indexOf(disputeTool.slug); diff --git a/lib/assets/document_templates/private_student_loan_dispute_letter/defaulted.pug b/lib/assets/document_templates/private_student_loan_dispute_letter/defaulted.pug index 8f00f6f1..ebc868a4 100644 --- a/lib/assets/document_templates/private_student_loan_dispute_letter/defaulted.pug +++ b/lib/assets/document_templates/private_student_loan_dispute_letter/defaulted.pug @@ -18,7 +18,7 @@ p Please provide me with the following documentation, to which I am legally entitled under the Fair Debt Collection Practices Act and similar state law: ul - li Proof that I signed the promissory note and/or contact associated with this debt; + li Proof that I signed the promissory note and/or contract associated with this debt; li Proof that you are the present owner or holder of the note, including the entire chain of title tracing your possession to the original issuance; li Proof that the note is in default. diff --git a/lib/assets/document_templates/private_student_loan_dispute_letter/non-defaulted.pug b/lib/assets/document_templates/private_student_loan_dispute_letter/non-defaulted.pug index 66ee4d63..b2918e4f 100644 --- a/lib/assets/document_templates/private_student_loan_dispute_letter/non-defaulted.pug +++ b/lib/assets/document_templates/private_student_loan_dispute_letter/non-defaulted.pug @@ -15,7 +15,7 @@ p Please provide me with the following documentation, to which I am legally entitled under the Fair Debt Collection Practices Act and similar state law: ul - li Proof that I signed the promissory note and/or contact associated with this debt; + li Proof that I signed the promissory note and/or contract associated with this debt; li Proof that you are the present owner or holder of the note, including the entire chain of title tracing your possession to the original issuance; li Proof of amount owed. diff --git a/views/dispute-tools/index.pug b/views/dispute-tools/index.pug index 5562323e..168b1b0e 100644 --- a/views/dispute-tools/index.pug +++ b/views/dispute-tools/index.pug @@ -28,23 +28,6 @@ block content each tool in disputeTools .col.md-col-4.sm-col-6.col-12.px2.py4 +toolCardMixin(tool) - - .col.md-col-4.sm-col-6.col-12.px2.py4 - .ToolCard.flex.flex-column.-fh - .flex-auto.pb3 - h3.ToolCard__name.mb2 Defense to Repayment for Federal Student Loans - p.pb1.-fw-500 A federal law that says the government must cancel your debt if you were defrauded by your school. - p.py1 - a.ToolCard__about-trigger.-k-btn.btn-link-nb.-fw-600(href='/defense-to-repayment') › About This Dispute - .ToolCard__caption.-caption.-fw-500 (Federal student loans only) - hr.mb2 - a.-k-btn.btn-primary.-fw.-fw-600( - id='defense-to-repayment-link' - href='https://studentaid.gov/borrower-defense/' rel='noopener noreferrer' - target='_blank' - class= !user && 'js-login-link' - ) More information - p.ToolCard__stats.pt2.-caption.-ttu.-fw-500   section#disclaimer.max-width-4.mx-auto.p2 small(style="color: #FF442C") The information available at this web site is for informational purposes only. It is not legal advice. You should contact your attorney to obtain advice with respect to any particular issue or problem. .px2.pt3.-bg-primary