Add flash message display
This commit is contained in:
		
							parent
							
								
									ab42618bbd
								
							
						
					
					
						commit
						c9a09de740
					
				| @ -35,6 +35,8 @@ | ||||
| 		= render 'shared/navbar' | ||||
| 
 | ||||
| 		%main | ||||
| 			- flash.each do |key, msg| | ||||
| 				= content_tag :div, msg, :id => key | ||||
| 			- if has_banner? | ||||
| 				%header#banner{banner_attrs(yield_or_default :banner_image)} | ||||
| 					= yield :banner | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user