refactor: update form components names

This commit is contained in:
woothu
2019-10-17 09:43:40 +02:00
parent 767a39d904
commit 0892b8cc2a
7 changed files with 104 additions and 104 deletions
+2 -2
View File
@@ -8,12 +8,12 @@
<CForm>
<h1>Login</h1>
<p class="text-muted">Sign In to your account</p>
<CFormInput
<CInput
prependHtml="<i class='cui-user'></i>"
placeholder="Username"
autocomplete="username email"
/>
<CFormInput
<CInput
prependHtml="<i class='cui-lock-locked'></i>"
placeholder="Password"
type="password"
+2 -2
View File
@@ -8,7 +8,7 @@
<h4 class="pt-3">Oops! You're lost.</h4>
<p class="text-muted">The page you are looking for was not found.</p>
</div>
<CFormInput
<CInput
class="mb-0"
prependHtml="<i class='cui-magnifying-glass'></i>"
placeholder="What are you looking for?"
@@ -16,7 +16,7 @@
<template #append>
<CButton color="info">Search</CButton>
</template>
</CFormInput>
</CInput>
</div>
</CCol>
</CRow>
+2 -2
View File
@@ -7,7 +7,7 @@
<h4 class="pt-3">Houston, we have a problem!</h4>
<p class="text-muted">The page you are looking for is temporarily unavailable.</p>
</div>
<CFormInput
<CInput
class="mb-0"
prependHtml="<i class='cui-magnifying-glass'></i>"
placeholder="What are you looking for?"
@@ -15,7 +15,7 @@
<template #append>
<CButton color="info">Search</CButton>
</template>
</CFormInput>
</CInput>
</CCol>
</CRow>
</CContainer>
+4 -4
View File
@@ -7,23 +7,23 @@
<CForm>
<h1>Register</h1>
<p class="text-muted">Create your account</p>
<CFormInput
<CInput
placeholder="Username"
prependHtml="<i class='cui-user'></i>"
autocomplete="username"
/>
<CFormInput
<CInput
placeholder="Email"
prepend-html="@"
autocomplete="email"
/>
<CFormInput
<CInput
placeholder="Password"
type="password"
prependHtml="<i class='cui-lock-locked'></i>"
autocomplete="new-password"
/>
<CFormInput
<CInput
placeholder="Repeat password"
type="password"
prependHtml="<i class='cui-lock-locked'></i>"