express-messages icon indicating copy to clipboard operation
express-messages copied to clipboard

Custom template collision with express-ejs-layouts module

Open s2t2 opened this issue 9 years ago • 2 comments

Hi, I'm a big fan of using custom templates, but I found my custom template stopped working once I configured EJS layouts using the express-ejs-layouts module.

Weird thing is, the default messages() call works fine, but a custom messages('_bootstrap_flash_messages') call does not render anything.

Are you able to provide guidance on the matter?

For more information, see: https://github.com/Soarez/express-ejs-layouts/issues/17

s2t2 avatar Apr 11 '16 01:04 s2t2

Sounds like it could be a dupe of #14

artcommacode avatar Apr 25 '16 08:04 artcommacode

issue convert this pug to ejs

if errors each error, i in errors div(class="alert alert-danger") #{error.msg)

ayinlaabel avatar Jul 24 '19 11:07 ayinlaabel