From 1d2ecc52559ca2c809fd89bc6f154fae76f7fa29 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Wed, 20 May 2020 22:40:25 +0300 Subject: [PATCH] Extract Reset Password Dialog into separate component --- .../users/components/ResetPasswordDialog.vue | 58 +++++++++++++++++++ src/views/users/index.vue | 30 ++-------- src/views/users/show.vue | 25 ++------ 3 files changed, 68 insertions(+), 45 deletions(-) create mode 100644 src/views/users/components/ResetPasswordDialog.vue diff --git a/src/views/users/components/ResetPasswordDialog.vue b/src/views/users/components/ResetPasswordDialog.vue new file mode 100644 index 00000000..b1c9cebb --- /dev/null +++ b/src/views/users/components/ResetPasswordDialog.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/src/views/users/index.vue b/src/views/users/index.vue index 6d6deb47..79a02d39 100644 --- a/src/views/users/index.vue +++ b/src/views/users/index.vue @@ -81,19 +81,9 @@ - -
-

Password reset token was generated: {{ passwordResetToken }}

-

You can also use this link to reset password: - {{ passwordResetLink }} -

-
-
+ - -
-

Password reset token was generated: {{ passwordResetToken }}

-

You can also use this link to reset password: - {{ passwordResetLink }} -

-
-
+