diff --git a/app/views/invitations/edit.html.erb b/app/views/invitations/edit.html.erb index 5a41126d..f0851643 100644 --- a/app/views/invitations/edit.html.erb +++ b/app/views/invitations/edit.html.erb @@ -1,19 +1,25 @@ -

Welcome to Docuseal

-<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %> - <%= render 'devise/shared/error_messages', resource: %> - <%= f.hidden_field :reset_password_token %> -
- <%= f.label :password, 'Set password' %>
- <% if @minimum_password_length %> - (<%= @minimum_password_length %> characters minimum)
- <% end %> - <%= f.password_field :password, autofocus: true, autocomplete: 'new-password' %> -
-
- <%= f.label :password_confirmation, 'Confirm new password' %>
- <%= f.password_field :password_confirmation, autocomplete: 'new-password' %> -
-
- <%= f.submit 'Save password and Sign in' %> -
-<% end %> +
+

Welcome to Docuseal

+ <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put, class: 'space-y-6' }) do |f| %> +
+ <%= render 'devise/shared/error_messages', resource: %> + <%= f.hidden_field :reset_password_token %> +
+ <%= f.label :password, 'Set password', class: 'label' %> + <%= f.password_field :password, autofocus: true, autocomplete: 'new-password', class: 'base-input' %> + <% if @minimum_password_length %> + + <% end %> +
+
+ <%= f.label :password_confirmation, 'Confirm new password', class: 'label' %> + <%= f.password_field :password_confirmation, autocomplete: 'new-password', class: 'base-input' %> +
+
+
+ <%= f.submit 'Save password and Sign in', class: 'base-button' %> +
+ <% end %> +
diff --git a/package.json b/package.json index 7d3c83fd..c1a9d53b 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "compression-webpack-plugin": "10.0.0", "css-loader": "^6.7.3", "css-minimizer-webpack-plugin": "^5.0.0", - "daisyui": "^3.0.3", + "daisyui": "^3.0.17", "mini-css-extract-plugin": "^2.7.5", "postcss": "^8.4.23", "postcss-import": "^15.1.0", diff --git a/yarn.lock b/yarn.lock index dae18ff8..10917004 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2296,10 +2296,10 @@ csstype@^3.1.1: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b" integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ== -daisyui@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/daisyui/-/daisyui-3.0.3.tgz#9272b050c82399912efbf63b311b0ae41c7bb9ee" - integrity sha512-RSbXsEBj2LonvjOKEI0I64F5xFJrFrthPgxRNeAZKmACQ3NoIoP45lO6UXLW3bm8PVOUGpKf1Br2SWwc1NqnHQ== +daisyui@^3.0.17: + version "3.0.17" + resolved "https://registry.yarnpkg.com/daisyui/-/daisyui-3.0.17.tgz#d060e03215c35817b03d38d6425a76b731a8d1b4" + integrity sha512-TgdoCeQ0YBVwOWVhbfj0NIcV0nBEDKvkMisRplHM1NfJ4wyRH/Gj+c1iICBkckOLB7C/qLueBnJ2pPWpO8/49w== dependencies: colord "^2.9" css-selector-tokenizer "^0.8"