mirror of https://github.com/docusealco/docuseal
				
				
				
			
							parent
							
								
									ac5d0c8cc3
								
							
						
					
					
						commit
						4977ee429c
					
				| After Width: | Height: | Size: 414 B | 
| @ -1,11 +1,15 @@ | |||||||
| <div id="flash" class="absolute top-0 w-full h-0"> | <div id="flash" class="absolute top-0 w-full h-0"> | ||||||
|   <div class="max-w-xl mx-auto mt-1.5"> |   <div class="max-w-xl mx-auto mt-1.5"> | ||||||
|     <div class="alert py-3"> |     <div class="alert py-3"> | ||||||
|  |       <% if flash[:notice] %> | ||||||
|         <%= svg_icon('info_circle', class: 'stroke-info flex-shrink-0 w-6 h-6') %> |         <%= svg_icon('info_circle', class: 'stroke-info flex-shrink-0 w-6 h-6') %> | ||||||
|  |       <% else %> | ||||||
|  |         <%= svg_icon('exclamation_circle', class: 'stroke-error flex-shrink-0 w-6 h-6') %> | ||||||
|  |       <% end %> | ||||||
|       <div> |       <div> | ||||||
|         <span><%= flash[:notice] || flash[:alert] %></span> |         <span><%= flash[:notice] || flash[:alert] %></span> | ||||||
|       </div> |       </div> | ||||||
|       <a href="#" class="w-6 h-6 rounded-lg text-center hover:bg-base-300" onclick="[event.preventDefault(), window.flash.remove()]">×</a> |       <a href="#" onclick="[event.preventDefault(), window.flash.remove()]">×</a> | ||||||
|     </div> |     </div> | ||||||
|   </div> |   </div> | ||||||
| </div> | </div> | ||||||
|  | |||||||
					Loading…
					
					
				
		Reference in new issue