Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #80 from AppliedIS/feature-ui
Browse files Browse the repository at this point in the history
Conditional logic fixes
  • Loading branch information
MrMatt57 committed Oct 26, 2016
2 parents ea2ccb5 + 5d924af commit 47f8703
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ <h2 class="form-section-header">Application Type</h2>
<fieldset class="usa-fieldset-inputs form-question-answer">
<ul class="usa-unstyled-list">
<li>
<input id="hasPreviousCertificate_1" type="radio" name="hasPreviousCertificate" value="1" ng-model="formData.hasPreviousCertificate">
<input id="hasPreviousCertificate_1" type="radio" name="hasPreviousCertificate" ng-value="1" ng-model="formData.hasPreviousCertificate">
<label for="hasPreviousCertificate_1">Yes</label>
</li>
<li>
<input id="hasPreviousCertificate_0" type="radio" name="hasPreviousCertificate" value="0" ng-model="formData.hasPreviousCertificate">
<input id="hasPreviousCertificate_0" type="radio" name="hasPreviousCertificate" ng-value="0" ng-model="formData.hasPreviousCertificate">
<label for="hasPreviousCertificate_0">No</label>
</li>
</ul>
</fieldset>
</div>

<div class="form-question-block">
<div class="form-question-block" ng-show="formData.hasPreviousCertificate === 1">
<div class="form-question-text">What is the most recently held certificate number for the main establishment?</div>
<div class="form-question-answer">
<input id="certificateNumber" name="certificateNumber" type="text" class="sidelabeled certificateno" ng-model="formData.certificateNumber">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,14 @@ <h2 class="form-section-header">Label for Section?</h2>
</ul>
</fieldset>
</div>

<div class="form-question-block" ng-show="formData.employerInfo.representativePayee == 1">
<div class="form-question-text">Total number of workers with disabilities for whom the facility was a representative payee during the most recently completed fiscal quarter?</div>
<div class="form-question-answer">
<input id="totalDisabledWorkers" name="totalDisabledWorkers" type="number" class="numeric3" min="0" step="1" ng-model="formData.employerInfo.totalDisabledWorkers">
</div>
</div>

<div class="form-question-block">
<div class="form-question-text">Did the employer take credit for the cost of providing facilities, such as board, lodging, and transportation, toward meeting the minimum wage or subminimum wage obligations during the most recently completed fiscal quarter?</div>
<fieldset class="usa-fieldset-inputs form-question-answer">
Expand Down
2 changes: 1 addition & 1 deletion DOL.WHD.Section14c.Web/src/styles/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
}

input.numeric3 {
max-width: 5.6rem;
max-width: 6.6rem;
}

input.numeric5 {
Expand Down

0 comments on commit 47f8703

Please sign in to comment.