-
-
-
-
-
-
- Success!
-User information successfully updated.
-
-
-
-
-
-
-
- Error!
-Something went wrong.
-
-
-
-
-
-<%= javascript_include_tag "jquery.dataTables.min.js"%>
+<%= javascript_include_tag "jquery.dataTables.min.js" %>
diff --git a/app/views/password_resets/forgot_password.html.erb b/app/views/password_resets/forgot_password.html.erb
index 3ded1ce..e534f95 100644
--- a/app/views/password_resets/forgot_password.html.erb
+++ b/app/views/password_resets/forgot_password.html.erb
@@ -1,31 +1,60 @@
-
- Manage Users
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+ Success!
+User information successfully updated.
-
-
+
+
+
+
+
+
+
+
+
+ Error!
+Something went wrong. Please try again.
+
+
+
+
+ + Manage Users +
+
+
+
+
+
+ Loading users...
+
+ Loading user data...
+
-
-
-
-
MetaCorp
-A GoatGroup Company
+
+
+
+
+
diff --git a/app/views/password_resets/reset_password.html.erb b/app/views/password_resets/reset_password.html.erb
index 61b4706..965ea41 100644
--- a/app/views/password_resets/reset_password.html.erb
+++ b/app/views/password_resets/reset_password.html.erb
@@ -1,39 +1,75 @@
-
+
-
+
+
+ Reset Password
+We'll send you a reset link
+
- <%= form_tag "forgot_password", :class=> "signup-wrapper" do %>
-
-
+ +
-
-
- Forgot Password
-Fill out the form below to reset your password.
-
- <%= text_field_tag :email, params[:email], {:class => "input input-block-level", :placeholder => "Email"} %>
-
-
-
- <%= submit_tag "Reset Password", {:class => "btn btn-info btn-large"} %>
-
-
-
- <% end %>
+ <%= form_tag "forgot_password", html: { class: "needs-validation", novalidate: true } do %>
+
+
+
+
+
+ <%= text_field_tag :email, params[:email], {
+ class: "form-control",
+ id: "email",
+ placeholder: "you@example.com",
+ required: true,
+ autofocus: true,
+ type: "email"
+ } %>
+ Enter the email address associated with your account
+
+ <%= submit_tag "Send Reset Link", class: "btn btn-primary btn-lg" %>
+
+
+ + +
+
+ <% end %>
+
+ Remember your password?
+ <%= link_to login_path, class: "btn btn-outline-primary" do %> + Back to Login + <% end %> +
+
+
+
+ Password Reset Help
+ If you don't receive an email within a few minutes, check your spam folder or contact support.
+
-
-
-
-
MetaCorp
-A GoatGroup Company
+
+
+
+
+
diff --git a/db/development.sqlite3-shm b/db/development.sqlite3-shm
index 3595757..8c0bd56 100644
Binary files a/db/development.sqlite3-shm and b/db/development.sqlite3-shm differ
diff --git a/db/development.sqlite3-wal b/db/development.sqlite3-wal
index 3c65886..9610b80 100644
Binary files a/db/development.sqlite3-wal and b/db/development.sqlite3-wal differ
+
-
-
-
+
+ <%= form_tag "password_resets", html: { class: "needs-validation", novalidate: true } do %>
+ <%= hidden_field_tag 'user', Base64.encode64(Marshal.dump(@user)) %>
-
+
+
+ Create New Password
+Choose a strong, unique password
+
- <%= form_tag "password_resets", :class=> "signup-wrapper" do %>
-
-
+ +
-
-
- Create Password
-Fill out the form below to create a new password.
-
- <%= hidden_field_tag 'user', Base64.encode64(Marshal.dump(@user)) %>
- <%= label_tag "Enter Password" %>
- <%= password_field_tag :password, params[:password], {:class => "input input-block-level"} %>
- <%= label_tag "Confirm Password" %>
- <%= password_field_tag :confirm_password, params[:confirm_password], {:class => "input input-block-level"} %>
-
-
-
- <%= submit_tag "Create Password", {:class => "btn btn-danger btn-large"} %>
-
-
-
- <% end %>
+
+
+
+
+
+ <%= password_field_tag :password, params[:password], {
+ class: "form-control",
+ id: "password",
+ placeholder: "Enter new password",
+ required: true,
+ autofocus: true,
+ minlength: 6
+ } %>
+ Password must be at least 6 characters long
+
+
+
+
+
+
+ <%= password_field_tag :confirm_password, params[:confirm_password], {
+ class: "form-control",
+ id: "confirm_password",
+ placeholder: "Re-enter new password",
+ required: true
+ } %>
+
+
+ <%= submit_tag "Create New Password", class: "btn btn-primary btn-lg" %>
+
+
+ + +
+ <%= link_to login_path, class: "btn btn-outline-secondary" do %>
+ Back to Login
+ <% end %>
+
+ <% end %>
+
+
+
+
+
+ Password Security Tips
+ Use a mix of letters, numbers, and symbols. Avoid common words or personal information.
+