Skip to content

Commit

Permalink
Merge pull request #1532 from openhealthcare/1531-microbiology-result…
Browse files Browse the repository at this point in the history
…-text-field

fixes up the microbiology text field so that we can chart max length,…
  • Loading branch information
davidmiller committed Jan 11, 2018
2 parents 439fb3a + 6625c2c commit ddc0a67
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions elcid/templates/forms/microbiology_test_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -533,16 +533,9 @@

</span>

<span ng-show="testType == 'micro_test_other'">

<div class="form-group">
<label class="control-label col-sm-3">Result</label>
<div class="col-sm-8">
<input class="form-control" type="text" ng-model="editing.microbiology_test.result">
</div>
</div>

</span>
<div ng-show="testType == 'micro_test_other'">
{% input field="MicrobiologyTest.result" element_name="'result_text'" %}
</div>

{% select field="MicrobiologyTest.hiv_declined" show="editing.microbiology_test.test == 'HIV Point of Care' && editing.microbiology_test.result == 'not done'" lookuplist="hiv_no_list" %}
{% checkbox field="MicrobiologyTest.alert_investigation" %}
Expand Down

0 comments on commit ddc0a67

Please sign in to comment.