<% if not edit then %>
<%- post.content %>
<% if render_sig and #post.signature_rendered > 0 then %>

<%- post.signature_rendered %>
<% end %> <% else %> <% render("views.common.babycode-editor", { cancel_url = url_for("thread", {slug = thread.slug}, {after = post.id}) .. "#post-" .. post.id, prefill = post.original_markup, ta_name = "new_content" }) %> <% end %>