1

I am using bootstrap-ui plugin for Form but it automatically loads flash. I want to use my own element file for Success/Error/Warning etc but bootstrap-ui automatically uses its default.ctp element for rending flash message.

So how can I use my own element files for displaying the flash message?

bikash.bilz
  • 821
  • 1
  • 13
  • 33

1 Answers1

2

You can overwrite the flash template on app level, like any other plugin template:

src/Template/Plugin/BootstrapUI/Element/Flash/default.ctp

See also

ndm
  • 59,784
  • 9
  • 71
  • 110