mirror of https://github.com/docusealco/docuseal
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							17 lines
						
					
					
						
							667 B
						
					
					
				
			
		
		
	
	
							17 lines
						
					
					
						
							667 B
						
					
					
				| <div class="max-w-lg mx-auto px-2">
 | |
|   <h1 class="text-4xl font-bold text-center mt-8">
 | |
|     <%= t('sign_in') %>
 | |
|   </h1>
 | |
|   <%= form_for(resource, as: resource_name, html: { class: 'space-y-6' }, data: { turbo: params[:redir].blank? }, url: session_path(resource_name)) do |f| %>
 | |
|     <%= f.hidden_field :email %>
 | |
|     <%= f.hidden_field :password %>
 | |
|     <% if params[:redir].present? %>
 | |
|       <%= hidden_field_tag :redir, params[:redir] %>
 | |
|     <% end %>
 | |
|     <%= render 'otp_form', **local_assigns %>
 | |
|     <div class="form-control">
 | |
|       <%= f.button button_title(title: t('sign_in'), disabled_with: t('signing_in')), class: 'base-button' %>
 | |
|     </div>
 | |
|   <% end %>
 | |
| </div>
 |