- page_title @blob.path, @ref

= render 'projects/last_push'

%div#tree-holder.tree-holder
  = render 'blob', blob: @blob

- if can_edit_blob?(@blob)
  = render 'projects/blob/remove'

  - title = "Replace #{@blob.name}"
  = render 'projects/blob/upload', title: title, placeholder: title, button_title: 'Replace file', form_path: namespace_project_update_blob_path(@project.namespace, @project, @id), method: :put

- @no_container = true
- page_title @blob.path, @ref
= render "projects/commits/head"

%div{ class: (container_class) }
  = render 'projects/last_push'

  %div#tree-holder.tree-holder
    = render 'blob', blob: @blob

  - if can_edit_blob?(@blob)
    = render 'projects/blob/remove'

    - title = "Replace #{@blob.name}"
    = render 'projects/blob/upload', title: title, placeholder: title, button_title: 'Replace file', form_path: namespace_project_update_blob_path(@project.namespace, @project, @id), method: :put

Add sub nav to file view
Add sub nav to file view
