##// END OF EJS Templates
db: always use Session() for compatibility, Using Session is actually the...
db: always use Session() for compatibility, Using Session is actually the scoped_session which is not the same as the one which we "call". More here: http://docs.sqlalchemy.org/en/latest/orm/contextual.html#contextual-thread-local-sessions

File last commit:

r1:854a839a default
r506:4c6b9282 default
Show More
flash_msg.html
16 lines | 487 B | text/html | HtmlLexer
<div class="flash_msg">
<% messages = h.flash.pop_messages() %>
% if messages:
% for message in messages:
<div class="alert alert-dismissable alert-${message.category}">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
${message}
</div>
% endfor
% endif
<script>
if (typeof jQuery != 'undefined') {
$(".alert").alert();
}
</script>
</div>