- <%= f.label :remember_me, class: 'flex items-center cursor-pointer' do %>
- <%= f.check_box :remember_me, checked: true, class: 'base-checkbox' %>
-
+ <%= form_for(resource, as: resource_name, html: { class: 'space-y-6' }, url: session_path(resource_name)) do |f| %>
+
+
+ <%= f.label :email, class: 'label' %>
+ <%= f.email_field :email, autofocus: true, autocomplete: 'email', class: 'base-input' %>
- <% end %>
-
+
<%= f.submit 'Log in', class: 'base-button' %>
<% end %>
diff --git a/app/views/devise/shared/_links.html.erb b/app/views/devise/shared/_links.html.erb
index 5ea702fe..cc73180b 100644
--- a/app/views/devise/shared/_links.html.erb
+++ b/app/views/devise/shared/_links.html.erb
@@ -1,25 +1,22 @@
-<%- if controller_name != 'sessions' %>
- <%= link_to 'Log in', new_session_path(resource_name), class: 'link-hover' %>
-<% end %>
-
-<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
- <%= link_to 'Sign up', new_registration_path, class: 'link-hover' %>
-<% end %>
-
-<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
- <%= link_to 'Forgot your password?', new_password_path(resource_name), class: 'link-hover' %>
-<% end %>
-
-<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
- <%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name), class: 'link-hover' %>
-<% end %>
-
-<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
- <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name), class: 'link-hover' %>
-<% end %>
-
-<%- if devise_mapping.omniauthable? %>
- <%- resource_class.omniauth_providers.each do |provider| %>
- <%= button_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider), data: { turbo: false } %>
+
+ <%- if controller_name != 'sessions' %>
+ <%= link_to 'Log in', new_session_path(resource_name), class: 'link link-hover' %>
<% end %>
-<% end %>
+ <%- if devise_mapping.registerable? && controller_name != 'registrations' %>
+ <%= link_to 'Sign up', new_registration_path, class: 'link link-hover' %>
+ <% end %>
+ <%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
+ <%= link_to 'Forgot your password?', new_password_path(resource_name), class: 'link link-hover' %>
+ <% end %>
+ <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
+ <%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name), class: 'link link-hover' %>
+ <% end %>
+ <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
+ <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name), class: 'link link-hover' %>
+ <% end %>
+ <%- if devise_mapping.omniauthable? %>
+ <%- resource_class.omniauth_providers.each do |provider| %>
+ <%= button_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider), class: 'link link-hover', data: { turbo: false } %>
+ <% end %>
+ <% end %>
+
diff --git a/app/views/email_settings/index.html.erb b/app/views/email_settings/index.html.erb
index 3d18d874..e6448859 100644
--- a/app/views/email_settings/index.html.erb
+++ b/app/views/email_settings/index.html.erb
@@ -1,34 +1,45 @@
<%= render 'shared/settings_nav' %>
-
- Email settings
- <% value = @encrypted_config.value || {} %>
- <%= form_for @encrypted_config, url: settings_email_index_path, method: :post, html: { autocomplete: 'off' } do |f| %>
- <%= f.fields_for :value do |ff| %>
-
- <%= ff.label :host %>
- <%= ff.text_field :host, value: value['host'], required: true %>
-
-
- <%= ff.label :port %>
- <%= ff.text_field :port, value: value['port'], required: true %>
-
-
- <%= ff.label :username %>
- <%= ff.text_field :username, value: value['username'], required: true %>
-
-
- <%= ff.label :password %>
- <%= ff.password_field :password, value: value['password'], required: true %>
-
-
- <%= ff.label :from_email, 'Send from' %>
- <%= ff.email_field :from_email, value: value['from_email'], required: true %>
+
+
+
Email Settings
+ <% value = @encrypted_config.value || {} %>
+ <%= form_for @encrypted_config, url: settings_email_index_path, method: :post, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %>
+ <%= f.fields_for :value do |ff| %>
+
+
+ <%= ff.label :host, class: 'label' %>
+ <%= ff.text_field :host, value: value['host'], required: true, class: 'base-input' %>
+
+
+ <%= ff.label :port, class: 'label' %>
+ <%= ff.text_field :port, value: value['port'], required: true, class: 'base-input' %>
+
+
+
+
+ <%= ff.label :username, class: 'label' %>
+ <%= ff.text_field :username, value: value['username'], required: true, class: 'base-input' %>
+
+
+ <%= ff.label :password, class: 'label' %>
+ <%= ff.password_field :password, value: value['password'], required: true, class: 'base-input' %>
+
+
+
+ <%= ff.label :from_email, 'Send from', class: 'label' %>
+ <%= ff.email_field :from_email, value: value['from_email'], required: true, class: 'base-input' %>
+
+ <% end %>
+
+
+ <%= f.button button_title, class: 'base-button' %>
+
<% end %>
- <%= f.button button_title %>
- <% end %>
+
+
diff --git a/app/views/setup/index.html.erb b/app/views/setup/index.html.erb
index 67714bde..d57c3a8b 100644
--- a/app/views/setup/index.html.erb
+++ b/app/views/setup/index.html.erb
@@ -1,35 +1,37 @@
Initial Setup 👋
- <%= form_for '', url: setup_index_path do |f| %>
- <%= f.fields_for @user do |ff| %>
-