Skip to content

Commit

Permalink
fix: remove all but the general debt dispute tool
Browse files Browse the repository at this point in the history
  • Loading branch information
hissingpanda committed Jul 14, 2021
1 parent 38ba1bb commit 878ddf7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 27 deletions.
10 changes: 2 additions & 8 deletions controllers/DisputeToolsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
17 changes: 0 additions & 17 deletions views/dispute-tools/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 878ddf7

Please sign in to comment.