views > message.pug | LogSyS
/views/message.pug
.messages
each type in Object.keys(messages)
each message in messages[type]
//- div(class="alert alert-danger"+type) #{message}
div.alert.alert-danger.alert-dismissible
strong Error!
|#{message}
button.close(type='button' data-dismiss='alert' aria-label='Close')
span(aria-hidden='true') ×
Comments
Post a Comment