Skip to content

Commit

Permalink
Moved html template if condition outside of surrounding JS (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
edmondsgarrett authored Oct 26, 2023
1 parent e86b398 commit a0b9e40
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,12 +345,12 @@ <h6>
<div id="help-text-total_claims_value_${entities}" class="help-text">
</div>
</div>
${ entities === 5 ?
{% if not r %}
{% if not r %}
${( entities === 5 ?
`<p class="c-message c-message--type-info c-message--scope-inline">If you need to associate more than 5 entities with your registration, <a href="/workbench/dashboard" target="_blank">submit a ticket</a> with your additional entries and your registration ID (displayed after submitting this form).</p>`
{% endif %}
: ''
}
)}
{% endif %}
`;
entityIdGroupValidation(entities, reg_id); // add entity input validation for new entities on form
entityPlanTypeValidation(entities, reg_id);
Expand Down

0 comments on commit a0b9e40

Please sign in to comment.