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

Commit

Permalink
Fixed report type select so that it doesn't set value on model instea…
Browse files Browse the repository at this point in the history
…d of controller.
  • Loading branch information
jkleinsc committed Oct 26, 2015
1 parent 00a9620 commit 6259d85
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions app/patients/reports/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@
<div class="panel-body">
{{#em-form model=this submitButton=false }}
<div class="row" data-test-selector="select-report-type">
{{em-select class="col-xs-6" label="Report Type"
property="reportType" content=reportTypes
optionValuePath="value" optionLabelPath="name"
selected=reportType
}}
<div class="form-group col-xs-6">
<label class="control-label" for="report-type">Report Type</label>
{{select-list
action=(action (mut reportType))
class='form-control'
content=reportTypes
id='report-type'
optionValuePath='value'
optionLabelPath='name'
value=reportType
}}
</div>
</div>
{{#if isStatusReport}}
{{em-select property="status" label="Patient Status"
Expand Down

0 comments on commit 6259d85

Please sign in to comment.