Skip to content

Commit

Permalink
start styling registration page
Browse files Browse the repository at this point in the history
  • Loading branch information
AtnNn committed Apr 21, 2017
1 parent 7967b8f commit 71c4763
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion views/login.vue
Expand Up @@ -41,7 +41,7 @@
module.exports = {
data: function () { return { message: "hi" }; } ,
components: {
'auth-layout': require('./components/authLayout.vue')
'auth-layout': require('./layouts/auth.vue')
}
}
</script>
Expand Down
32 changes: 17 additions & 15 deletions views/register.vue
@@ -1,23 +1,25 @@
<template>
<div class="container">
<p>{{message}}</p>
<form id="signup" name="register" method="post" action="/register">
<label for="email">Email Address</label>
<input class="text" name="email" type="email" />
<label for="firstname">Firstname</label>
<input name="firstname" type="text" />
<label for="lastname">Lastname</label>
<input name="lastname" type="text" />
<label for="password">Password</label>
<input name="password" type="password" />
<input class="btn" type="submit" value="Register" />
</form>
</div>
<auth-layout>
<div class="container">
<p>{{message}}</p>
<form id="signup" name="register" method="post" action="/register">
<label for="email">Email Address</label>
<input class="text" name="email" type="email" />
<label for="firstname">Firstname</label>
<input name="firstname" type="text" />
<label for="lastname">Lastname</label>
<input name="lastname" type="text" />
<label for="password">Password</label>
<input name="password" type="password" />
<input class="btn" type="submit" value="Register" />
</form>
</div>
</auth-layout>
</template>

<script>
export default {
data: () => {},
components: {'auth-layout': require('./layouts/auth.vue')}
}
</script>

Expand Down

0 comments on commit 71c4763

Please sign in to comment.