```ruby
module ExpressAdmin
  class FlashMessageComponent < ExpressTemplates::Components::Base

    Helper = ExpressAdmin::FlashMessageComponent  # for convenience

    helper(:safe_message) {|message| message[1] }
    helper(:classes) {|message| "flash nav-alert alert-box #{flash_class(message[0])}" }

    emits {
      div(class: Helper.classes('{{flash_message}}'), data: {alert: ''}) {
        safe_message('{{flash_message}}')
        a.close(:href => "#") { "&times;" }
      }
    }

    for_each -> { flash }, as: :flash_message


  end
end```

Add div wrapper for the flash message
user
```ruby
module ExpressAdmin
  class FlashMessageComponent < ExpressTemplates::Components::Base

    Helper = ExpressAdmin::FlashMessageComponent  # for convenience
    helper(:safe_message) {|message| message[1] }
    helper(:classes) {|message| "flash nav-alert alert-box #{flash_class(message[0])}" }

    emits {
      div {
        div(class: Helper.classes('{{flash_message}}'), data: {alert: ''}) {
          safe_message('{{flash_message}}')
          a.close(:href => "#") { "&times;" }
        }
      }
    }

    for_each -> { flash }, as: :flash_message


  end
end
```
assistant