You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LoginView.vue 854B

123456789101112131415161718192021222324252627282930313233343536
  1. <template lang="pug">
  2. main.view--login
  3. article.pa12
  4. form
  5. w-input.mb4(
  6. inner-icon-left='icon-envelope'
  7. label='User E-mail'
  8. outline
  9. tile
  10. v-model='form.email'
  11. )
  12. w-input(
  13. inner-icon-left='icon-eye'
  14. label='Password'
  15. outline
  16. tile
  17. v-model='form.password'
  18. )
  19. //- Emit up an event so we can sync App pid with currentProfile.id
  20. w-button.xs12.mt12(
  21. @click.prevent.stop='$emit("updatePid", form)'
  22. type='submit'
  23. ) submit
  24. </template>
  25. <script>
  26. export default {
  27. data: () => ({
  28. form: {
  29. email: null,
  30. password: null,
  31. },
  32. }),
  33. }
  34. </script>