changeset 564:51a0c3e57ba6

fix: login errors now same width as other form components
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 04 Sep 2018 15:45:06 +0200
parents bf6c1debdb81
children 4bc27eea4f09
files client/src/views/Login.vue
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/views/Login.vue	Tue Sep 04 15:39:21 2018 +0200
+++ b/client/src/views/Login.vue	Tue Sep 04 15:45:06 2018 +0200
@@ -9,10 +9,10 @@
         </div>
       </div>
       <!-- end logo section -->
-      <div id="alert" :style="errorMessageStyle" :class="errorMessageClass" role="alert">
-        <span>{{ errorMessage }}</span>
-      </div>
       <form class="loginform" @submit.prevent="login">
+        <div id="alert" :style="errorMessageStyle" :class="errorMessageClass" role="alert">
+          <span>{{ errorMessage }}</span>
+        </div>
         <div class="input-group mb-3">
           <input type="text" v-model="user" id="inputUsername" class="form-control shadow-sm" :placeholder="usernameLabel" required autofocus>
         </div>