adjust registration links

pull/105/head 1.0.2
Alex Turchyn 2 years ago
parent b9af384cf2
commit 3d75443d6e

@ -1,5 +1,5 @@
<div class="max-w-xl mx-auto px-2"> <div class="max-w-xl mx-auto px-2">
<h1 class="text-3xl font-bold text-center my-8">Create a Free Account</h1> <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, method: :get) do |f| %> <%= form_for(User.new, html: { class: 'space-y-6' }, url: new_registration_path, method: :get) do |f| %>
<div class="space-y-2"> <div class="space-y-2">
<div class="form-control"> <div class="form-control">

@ -3,7 +3,7 @@
<%= link_to 'Log in', new_session_path(resource_name), class: 'link link-hover' %> <%= link_to 'Log in', new_session_path(resource_name), class: 'link link-hover' %>
<% end %> <% end %>
<%- if devise_mapping.registerable? && controller_name != 'registrations' %> <%- if devise_mapping.registerable? && controller_name != 'registrations' %>
<%= link_to 'Sign up', registration_path, class: 'link link-hover' %> <%= link_to 'Create free account', registration_path, class: 'link link-hover' %>
<% end %> <% end %>
<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %> <%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
<%= link_to 'Forgot your password?', new_password_path(resource_name), class: 'link link-hover' %> <%= link_to 'Forgot your password?', new_password_path(resource_name), class: 'link link-hover' %>

@ -46,7 +46,7 @@
</span> </span>
<% end %> <% end %>
<% if Docuseal.multitenant? %> <% if Docuseal.multitenant? %>
<%= link_to registration_path, class: 'font-medium text-lg' do %> <%= link_to registration_path, class: 'font-medium text-lg hidden md:inline' do %>
<span class="flex items-center justify-center space-x-1"> <span class="flex items-center justify-center space-x-1">
<%= svg_icon('user_plus', class: 'w-6 h-6') %> <%= svg_icon('user_plus', class: 'w-6 h-6') %>
<span>Try for Free</span> <span>Try for Free</span>

Loading…
Cancel
Save