- <% if redir_new_params['filename'].present? %>
-
-
- <%= svg_icon('file_text', class: 'w-10 h-10') %>
-
-
- <%= redir_new_params['filename'] %>
-
-
- <% else %>
-
- #1 Open Source
- Document Signing
-
-
- DocuSeal allows you to create, fill and sign digital documents with ease.
-
+
+ <%= render 'devise/shared/select_server' if Docuseal.multitenant? %>
+
Create Free Account
+ <%= form_for(User.new, html: { class: 'space-y-6' }, url: new_registration_path, data: { turbo: params[:redir].blank? }, method: :get) do |f| %>
+ <% if params[:redir].present? %>
+ <%= hidden_field_tag :redir, params[:redir] %>
<% end %>
-
- -
- <%= svg_icon('circle_check_filled', class: 'w-6 h-6 text-neutral shrink-0') %>
- Start signing documents immediately
-
- -
- <%= svg_icon('circle_check_filled', class: 'w-6 h-6 text-neutral shrink-0') %>
- Sign unlimited documents for free
-
- -
- <%= svg_icon('circle_check_filled', class: 'w-6 h-6 text-neutral shrink-0') %>
- Try API, Webhooks and Embedding
-
- -
- <%= svg_icon('circle_check_filled', class: 'w-6 h-6 text-neutral shrink-0') %>
- ESIGN, UETA, eIDAS compliant
-
- -
- <%= svg_icon('circle_check_filled', class: 'w-6 h-6 text-neutral shrink-0') %>
- No CC required
-
-
-
-
-
Create Free Account
- <%= render 'devise/shared/select_server' if Docuseal.multitenant? %>
- <%= form_for(User.new, html: { class: 'space-y-6' }, url: new_registration_path, data: { turbo: params[:redir].blank? }, method: :get) do |f| %>
- <% if params[:redir].present? %>
- <%= hidden_field_tag :redir, params[:redir] %>
- <% end %>
-
-
- <%= f.label :email, class: 'label' %>
- <%= f.email_field :email, autofocus: true, autocomplete: 'email', class: 'base-input' %>
-
-
+
- <%= f.button button_title(title: 'Sign up', disabled_with: 'Sign up'), name: 'sign_up', value: true, class: 'base-button' %>
+ <%= f.label :email, class: 'label' %>
+ <%= f.email_field :email, autofocus: true, autocomplete: 'email', class: 'base-input' %>
- <% end %>
- <% if devise_mapping.omniauthable? %>
- <%= button_to button_title(title: 'Sign up with Google', icon: svg_icon('brand_google', class: 'w-6 h-6')), omniauth_authorize_path(resource_name, :google_oauth2), class: 'white-button w-full mt-4', data: { turbo: false }, method: :post %>
- <% end %>
- <%= render 'devise/shared/links' %>
-
+
+
+ <%= f.button button_title(title: 'Sign up', disabled_with: 'Sign up'), name: 'sign_up', value: true, class: 'base-button' %>
+
+ <% end %>
+ <% if devise_mapping.omniauthable? %>
+ <%= button_to button_title(title: 'Sign up with Google', icon: svg_icon('brand_google', class: 'w-6 h-6')), omniauth_authorize_path(resource_name, :google_oauth2), class: 'white-button w-full mt-4', data: { turbo: false }, method: :post %>
+ <% end %>
+ <%= render 'devise/shared/links' %>
diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb
index b19b884c..09c51d0c 100644
--- a/app/views/devise/sessions/new.html.erb
+++ b/app/views/devise/sessions/new.html.erb
@@ -1,6 +1,6 @@
-
Sign In
<%= render 'devise/shared/select_server' if Docuseal.multitenant? %>
+
Sign In
<%= form_for(resource, as: resource_name, html: { class: 'space-y-6' }, data: { turbo: params[:redir].blank? }, url: session_path(resource_name)) do |f| %>
<% if params[:redir].present? %>
<%= hidden_field_tag :redir, params[:redir] %>
diff --git a/app/views/devise/shared/_select_server.html.erb b/app/views/devise/shared/_select_server.html.erb
index c433adbf..866f0b92 100644
--- a/app/views/devise/shared/_select_server.html.erb
+++ b/app/views/devise/shared/_select_server.html.erb
@@ -1,10 +1,10 @@
-