extends layout




block content
  row
    .col-md-8
      h1= "Preview "+blog.name
    .col-md-4
      div.btn-group(role="group" class="pull-right")
        if (edit) 
          button.btn.btn-default.btn-lg
            a(href="#{layout.htmlroot}/blog/#{blog.id}/preview?lang=#{lang}") Edit Off
        else
          button.btn.btn-default.btn-lg
            a(href="#{layout.htmlroot}/blog/#{blog.id}/preview?edit=true&lang=#{lang}") Edit 
        button.btn.btn-default.btn-lg
          a(href="#{layout.htmlroot}/blog/#{blog.id}/preview?download=true&lang=#{lang}") Download

  row
    .col-md-12
      if (preview)
        :verbatim
          !{preview}
 




  
extends layout




block content
  row
    .col-md-8
      h1= "Preview "+blog.name
    .col-md-4
      div.btn-group(role="group" class="pull-right")
        button.btn.btn-default.btn-lg
          a(href="#{layout.htmlroot}/blog/#{blog.id}/?edit=true&lang=#{lang}") Edit 
        button.btn.btn-default.btn-lg
          a(href="#{layout.htmlroot}/blog/#{blog.id}/preview?download=true&lang=#{lang}") Download

  row
    .col-md-12
      if (preview)
        :verbatim
          !{preview}
 




  
Edit in Blog Preview now goes to Blog Page.
Edit in Blog Preview now goes to Blog Page.
