Skip to content

Commit

Permalink
[Index pattern creation] Move the error message to below the input fi…
Browse files Browse the repository at this point in the history
…eld (#11801)

* Move the error message to below the input field, resolves #11410

* Update to match HTML styleguide
  • Loading branch information
chrisronline committed May 16, 2017
1 parent 0f87295 commit c2319d5
Showing 1 changed file with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@
>
</div>

<!-- Input error text -->
<div
class="kuiVerticalRhythm"
ng-if="controller.fetchFieldsError"
>
<p class="kuiText">
<span class="kuiStatusText kuiStatusText--error">
<span class="kuiStatusText__icon kuiIcon fa-warning"></span>
{{controller.fetchFieldsError}}
</span>
</p>
</div>

<!-- Input help text -->
<div class="kuiVerticalRhythm">
<p
Expand Down Expand Up @@ -340,14 +353,6 @@
>
<span
ng-hide="form.name.$error.indexNameInput"
ng-if="controller.fetchFieldsError"
>
{{controller.fetchFieldsError}}
</span>

<span
ng-hide="form.name.$error.indexNameInput"
ng-if="!controller.fetchFieldsError"
translate="KIBANA-CREATE"
></span>

Expand Down

0 comments on commit c2319d5

Please sign in to comment.