summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/_editor.html.haml
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-06 18:51:02 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-06 18:51:02 +0100
commit59a2e17994da6988023758b572f82789af3f90dd (patch)
tree335b39b0e2e5a66e5b8fe7676a885612a6481955 /app/views/projects/blob/_editor.html.haml
parentd6664a2b1ea06d1db84e1ad69bb67b58a91abe87 (diff)
downloadgitlab-ce-59a2e17994da6988023758b572f82789af3f90dd.tar.gz
fixes more issues for MR acceptance
Diffstat (limited to 'app/views/projects/blob/_editor.html.haml')
-rw-r--r--app/views/projects/blob/_editor.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/blob/_editor.html.haml b/app/views/projects/blob/_editor.html.haml
index 31bd4646d3d..ad3009f30ab 100644
--- a/app/views/projects/blob/_editor.html.haml
+++ b/app/views/projects/blob/_editor.html.haml
@@ -4,8 +4,8 @@
= icon('code-fork')
= ref
%span.editor-file-name
- -if current_action?(:edit) || current_action?(:update)
- = text_field_tag 'file_name', (params[:file_name] or @path),
+ - if current_action?(:edit) || current_action?(:update)
+ = text_field_tag 'file_name', (params[:file_name] || @path),
class: 'form-control new-file-name'
- if current_action?(:new) || current_action?(:create)