Skip to content

Commit

Permalink
If we are going to hard code the phrase 'Date of birth' let's not har…
Browse files Browse the repository at this point in the history
…d code it Capital Case.
  • Loading branch information
davidmiller committed Mar 28, 2019
1 parent b6880ef commit 276d3fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opal/templates/_helpers/date_of_birth_field.html
@@ -1,11 +1,11 @@
<div ng-show="editing.demographics.external_system" class="form-group">
<label class="control-label {% ifequal style "horizontal" %}col-sm-3{% endifequal %}">Date Of Birth</label>
<label class="control-label {% ifequal style "horizontal" %}col-sm-3{% endifequal %}">Date of birth</label>
<p class="form-control-static col-sm-8">
[[ {{ model_name }} | displayDate ]]
</p>
</div>
<div ng-class="{'has-error': form.date_of_birth.$invalid}" ng-hide="editing.demographics.external_system" class="form-group">
<label class="control-label {% ifequal style "horizontal" %}col-sm-3{% endifequal %}">Date Of Birth</label>
<label class="control-label {% ifequal style "horizontal" %}col-sm-3{% endifequal %}">Date of birth</label>
<div class="{% ifequal style "horizontal" %}col-sm-8{% endifequal %}">
<div date-of-birth ng-model="{{ model_name }}"></div>
<span class="help-block" ng-show="form.date_of_birth.$invalid">
Expand Down

0 comments on commit 276d3fa

Please sign in to comment.