<div class="alert <% if (title) { %>alert-block<% } %> <% if (type) { %>alert-<%= type %><% } %>">
  <% if  (withClose) { %><button type="button" class="close" data-dismiss="alert">&times;</button><% } %>
  <% if (title) { %><h4><%= title %></h4><% } %>
  <%= text %>
</div>
