diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-26 20:58:38 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-26 20:58:38 -0800 |
commit | 8ecf7d3207ca52d694f6d8ebd9bed96041c49a8c (patch) | |
tree | 697c7e3e71a7fca81f8ec632373715e7ea3021f8 /app/views/projects | |
parent | a3d879d427c1236d26832dcd0312b3e0d6158bbe (diff) | |
download | gitlab-ce-8ecf7d3207ca52d694f6d8ebd9bed96041c49a8c.tar.gz |
Improve web editor filename placeholder
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/blob/_editor.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/_editor.html.haml b/app/views/projects/blob/_editor.html.haml index a0d9ea57b1c..96f188e4aa7 100644 --- a/app/views/projects/blob/_editor.html.haml +++ b/app/views/projects/blob/_editor.html.haml @@ -10,7 +10,7 @@ - if current_action?(:new) || current_action?(:create) \/ - = text_field_tag 'file_name', params[:file_name], placeholder: "sample.rb", + = text_field_tag 'file_name', params[:file_name], placeholder: "File name", required: true, class: 'form-control new-file-name' .pull-right = select_tag :encoding, options_for_select([ "base64", "text" ], "text"), class: 'form-control' |