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 590B

123456789101112131415161718192021
  1. <template lang="pug">
  2. main.view--login
  3. article.pa12
  4. form
  5. w-input.mb4(label="User E-mail" tile outline v-model="form.profileId" inner-icon-left='icon-envelope')
  6. w-input(label="Password" type="password" tile outline inner-icon-left='icon-eye')
  7. //- Emit up an event so we can sync App pid with currentProfile.id
  8. w-button.xs12.mt12(@click="$emit('updatePid', form.profileId)" type="submit") submit
  9. </template>
  10. <script>
  11. export default {
  12. data: () => ({
  13. form: {
  14. profileId: null,
  15. },
  16. }),
  17. }
  18. </script>