diff --git a/app/views/shared/_navbar.html.erb b/app/views/shared/_navbar.html.erb index 589ad6ac..a1a63b8a 100644 --- a/app/views/shared/_navbar.html.erb +++ b/app/views/shared/_navbar.html.erb @@ -72,7 +72,7 @@ <% end %> <% end %> - <% if Docuseal.multitenant? && !request.path.in?([registration_path, new_registration_path])%> + <% if Docuseal.multitenant? && !request.path.in?([registration_path, new_registration_path]) %> <%= link_to registration_path, class: 'btn btn-neutral btn-sm btn-outline' do %> Create free Account diff --git a/app/views/shared/_settings_nav.html.erb b/app/views/shared/_settings_nav.html.erb index 51435a9d..e4dc2697 100644 --- a/app/views/shared/_settings_nav.html.erb +++ b/app/views/shared/_settings_nav.html.erb @@ -43,7 +43,7 @@ <% end %> <% if !Docuseal.demo? && can?(:manage, EncryptedConfig) %>
  • - <%= link_to Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/on_premise"), class: 'text-base hover:bg-base-300', data: { prefetch: false } do %> + <%= link_to Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CONSOLE_URL}/on_premise", class: 'text-base hover:bg-base-300', data: { prefetch: false } do %> Plans <% end %>