<% if($('#edit-allowed').val() == '1') { %>
edit delete
<% } %>
<%= $.datepicker.formatDate('dd M, yy', new Date(Date.parse(createdAt.replace(/\-/g, '/')))) %>
<%= title %> <%= title %>
All <% _.each(tags, function(tag, index) { %> <% if (index == 0){ %>,   <% ;} %> <%= tag.name %> <% if ((index+1) != tags.length){ %> ,  <% ;} %> <% }) %>
<%= teaser %>