Skip to content

Commit

Permalink
Move type attribute first for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarnef committed Aug 3, 2020
1 parent 7a7c802 commit 11076ac
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/Umbraco.Web.UI.Client/src/views/components/umb-mini-search.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<ng-form class="umb-mini-search" ng-class="{'--has-value': vm.model !== null && vm.model !== ''}" novalidate>
<i class="icon icon-search" aria-hidden="true"></i>
<input
class="form-control search-input"
type="text"
localize="placeholder,label"
label="@general_typeToSearch"
placeholder="@general_typeToSearch"
ng-model="vm.model"
ng-change="vm.onChange()"
ng-keydown="vm.onKeyDown($event)"
ng-blur="vm.onBlur($event)"
prevent-enter-submit
no-dirty-check>
<input type="text"
class="form-control search-input"
localize="placeholder,label"
label="@general_typeToSearch"
placeholder="@general_typeToSearch"
ng-model="vm.model"
ng-change="vm.onChange()"
ng-keydown="vm.onKeyDown($event)"
ng-blur="vm.onBlur($event)"
prevent-enter-submit
no-dirty-check>
</ng-form>

0 comments on commit 11076ac

Please sign in to comment.