adjust registration for SaaS
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="max-w-xl mx-auto px-2">
|
||||
<h1 class="text-4xl font-bold text-center my-8">Sign up</h1>
|
||||
<h1 class="text-3xl font-bold text-center my-8">Profile Details</h1>
|
||||
<%= form_for('', as: resource_name, html: { class: 'space-y-6' }, url: new_registration_path) do |f| %>
|
||||
<div class="space-y-2">
|
||||
<%= render 'devise/shared/error_messages', resource: %>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="max-w-xl mx-auto px-2">
|
||||
<h1 class="text-4xl font-bold text-center my-8">Sign up</h1>
|
||||
<h1 class="text-3xl font-bold text-center my-8">Create a Free Account</h1>
|
||||
<%= form_for(User.new, html: { class: 'space-y-6' }, url: new_registration_path, method: :get) do |f| %>
|
||||
<div class="space-y-2">
|
||||
<div class="form-control">
|
||||
|
||||
@@ -38,11 +38,21 @@
|
||||
</div>
|
||||
</div>
|
||||
<% else %>
|
||||
<%= link_to new_user_session_path, class: 'font-medium text-lg' do %>
|
||||
<span class="flex items-center justify-center space-x-1">
|
||||
<%= svg_icon('login', class: 'w-6 h-6') %>
|
||||
<span>Sign in</span>
|
||||
</span>
|
||||
<% end %>
|
||||
<div class="flex space-x-6">
|
||||
<%= link_to new_user_session_path, class: 'font-medium text-lg' do %>
|
||||
<span class="flex items-center justify-center space-x-1">
|
||||
<%= svg_icon('login', class: 'w-6 h-6') %>
|
||||
<span>Sign in</span>
|
||||
</span>
|
||||
<% end %>
|
||||
<% if Docuseal.multitenant? %>
|
||||
<%= link_to registration_path, class: 'font-medium text-lg' do %>
|
||||
<span class="flex items-center justify-center space-x-1">
|
||||
<%= svg_icon('user_plus', class: 'w-6 h-6') %>
|
||||
<span>Try for Free</span>
|
||||
</span>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user