add server switch

This commit is contained in:
Alex Turchyn
2023-09-04 01:36:09 +03:00
parent 0cc53066eb
commit 8c8c34cb75
3 changed files with 12 additions and 0 deletions
@@ -1,4 +1,5 @@
<div class="max-w-xl mx-auto px-2">
<%= render 'devise/shared/select_server' if Docuseal.multitenant? %>
<h1 class="text-3xl font-bold text-center my-8">Create Free Account</h1>
<%= 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? %>