summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
\/