blob: 09d6fc18e3e7c0ecb6366a6645108014d1aa1a1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
- page_title @blob.path, @ref
= render "header_title"
= render 'projects/last_push'
%div#tree-holder.tree-holder
= render 'blob', blob: @blob
- if can_delete_or_replace?(@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
|