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.
		
		
		
		
		
			
		
			
				
					
					
						
							19 lines
						
					
					
						
							809 B
						
					
					
				
			
		
		
	
	
							19 lines
						
					
					
						
							809 B
						
					
					
				<% if resource.errors.any? %>
 | 
						|
  <div id="error_explanation" data-turbo-cache="false">
 | 
						|
    <div class="alert">
 | 
						|
      <div>
 | 
						|
        <svg xmlns="http://www.w3.org/2000/svg" class="stroke-current shrink-0 h-6 w-6" fill="none" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" /></svg>
 | 
						|
        <div>
 | 
						|
          <h3 class="font-bold">
 | 
						|
            <%= I18n.t('errors.messages.not_saved',
 | 
						|
                 count: resource.errors.count,
 | 
						|
                 resource: resource.class.model_name.human.downcase) %></h3>
 | 
						|
          <% resource.errors.full_messages.each do |message| %>
 | 
						|
            <p class="text-sm"><%= message %></p>
 | 
						|
          <% end %>
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
  </div>
 | 
						|
<% end %>
 |