2018-03-25 10:24:34 +00:00
< template >
< div class = 'login-box' >
< div class = 'icon' > < / div >
< div class = 'form' >
< h3 > Create an account < / h3 >
2018-03-25 12:49:59 +00:00
< label for = 'mail' : class = 'gs.register.mail.error.length<1?``:`err`' > EMAIL < span > { { gs . register . mail . error } } < / span > < / label >
2018-03-27 17:04:06 +00:00
< input @ keyup = 'gs.register.func.press_enter' type = 'email' name = 'mail' v -model = ' gs.register.mail.model ' class = 'flat' autofocus >
2018-03-25 12:49:59 +00:00
< label for = 'username' : class = 'gs.register.username.error.length<1?``:`err`' > USERNAME < span > { { gs . register . username . error } } < / span > < / label >
2018-03-27 17:04:06 +00:00
< input @ keyup = 'gs.register.func.press_enter' type = 'text' name = 'username' v -model = ' gs.register.username.model ' class = 'flat' >
2018-03-25 12:49:59 +00:00
< label for = 'password' : class = 'gs.register.password.error.length<1?``:`err`' > PASSWORD < span > { { gs . register . password . error } } < / span > < / label >
2018-03-27 17:04:06 +00:00
< input @ keyup = 'gs.register.func.press_enter' type = 'password' name = 'password' v -model = ' gs.register.password.model ' class = 'flat' >
2018-03-25 12:49:59 +00:00
< button class = 'submit' @ click = 'gs.register.func.register()' > Continue < / button >
2018-03-25 10:24:34 +00:00
< span > By registering , you agree to Discord 's <a href=' https : //discordapp.com/terms'>Terms of Service</a> and <a href='https://discordapp.com/privacy'>Privacy Policy</a></span>
< hr >
< span > Already have an account ? < router -link to = 'login' > Login < / r o u t e r - l i n k > < / s p a n >
< / div >
< / div >
< / template > < script >
export default {
2018-03-25 12:49:59 +00:00
name : 'register-' ,
2018-03-25 10:24:34 +00:00
data ( ) { return { gs : gs . get } ; }
}
< / script >