%h2.path %span.path= request.path_info.empty? ? '/' : request.path_info - if file %ul.tabs %li %a{ href: "#{request.path}" } View %li %a{ href: '?mode=raw' } Raw %li %a{ href: '?mode=edit' } Edit %li %a{ href: '?mode=revisions' } Revisions %li %a.delete{ href: '?mode=delete' } Delete