Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
partido-interdimensional-pirata
lumi
la web de miniloom
Commits
c0a8b218
Commit
c0a8b218
authored
Feb 29, 2020
by
void
Browse files
agregar links para iniciar sesion en crearcuenta y viceversa (fixes
#16
)
parent
5d091f6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/views/CrearCuenta.vue
View file @
c0a8b218
...
...
@@ -7,6 +7,9 @@
:handleSubmit=
"handleSubmit"
:parseError=
"parseError"
/>
<small>
<router-link
:to=
"iniciarSesionPath"
>
¿ya tenés una cuenta?
</router-link>
</small>
</div>
</
template
>
...
...
@@ -43,6 +46,11 @@ export default {
redirect
()
{
return
this
.
$route
.
query
.
redirect
},
iniciarSesionPath
()
{
return
`/iniciarSesion
${
this
.
redirect
?
'
?redirect=
'
+
encodeURIComponent
(
this
.
redirect
)
:
''
}
`
},
},
methods
:
{
handleSubmit
(
userData
)
{
...
...
src/views/IniciarSesion.vue
View file @
c0a8b218
...
...
@@ -7,6 +7,9 @@
:handleSubmit=
"handleSubmit"
:parseError=
"parseError"
/>
<small>
<router-link
:to=
"crearCuentaPath"
>
¿no tenés una cuenta?
</router-link>
</small>
</div>
</
template
>
...
...
@@ -44,6 +47,11 @@ export default {
redirect
()
{
return
this
.
$route
.
query
.
redirect
},
crearCuentaPath
()
{
return
`/crearCuenta
${
this
.
redirect
?
'
?redirect=
'
+
encodeURIComponent
(
this
.
redirect
)
:
''
}
`
},
},
methods
:
{
handleSubmit
(
userData
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment