summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-12 15:56:06 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-12 15:56:06 +0100
commita6a847599243e59dcb94fe31be519d09bab72c82 (patch)
tree42490e24fdde5f894ca192764f4a328fcee7f4ff
parent98c0eb461596e2b390ea5d43fc2f5f5284d1d0c0 (diff)
parentc7c0392a0401f71802a1120b3244fac1e2ca1c4b (diff)
downloadgitlab-ce-a6a847599243e59dcb94fe31be519d09bab72c82.tar.gz
Merge branch 'rename-repo-files' of gitlab.com:tiagonbotelho/gitlab-ce into rename-repo-files
-rw-r--r--app/views/projects/blob/_editor.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/blob/_editor.html.haml b/app/views/projects/blob/_editor.html.haml
index e920f35879f..ba3b3439e9b 100644
--- a/app/views/projects/blob/_editor.html.haml
+++ b/app/views/projects/blob/_editor.html.haml
@@ -7,6 +7,7 @@
- if current_action?(:edit) || current_action?(:update)
= text_field_tag 'file_name', (params[:file_name] || @file_path),
class: 'form-control new-file-name'
+
- if current_action?(:new) || current_action?(:create)
%span.editor-file-name
\/