diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-02 14:36:44 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-02 14:41:55 +0100 |
commit | a70c507882289a42a9d9b359a730e6f166fedd74 (patch) | |
tree | 64554c77a068e1c2a4c80d44a3cdbaaa5783b8d1 /app/views/projects/blob | |
parent | da48fdc2a51af0f02ebb22cc13fabf7d1a636690 (diff) | |
download | gitlab-ce-a70c507882289a42a9d9b359a730e6f166fedd74.tar.gz |
Only use input placeholders when they add value
Diffstat (limited to 'app/views/projects/blob')
-rw-r--r-- | app/views/projects/blob/_new_dir.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/_new_dir.html.haml b/app/views/projects/blob/_new_dir.html.haml index 40d0b68c6cc..7f95b46efc7 100644 --- a/app/views/projects/blob/_new_dir.html.haml +++ b/app/views/projects/blob/_new_dir.html.haml @@ -9,7 +9,7 @@ .form-group = label_tag :dir_name, 'Directory name', class: 'control-label' .col-sm-10 - = text_field_tag :dir_name, params[:dir_name], placeholder: "Directory name", required: true, class: 'form-control' + = text_field_tag :dir_name, params[:dir_name], required: true, class: 'form-control' = render 'shared/new_commit_form', placeholder: "Add new directory" |