summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorAnnabel Gray <annabel.m.gray@gmail.com>2018-07-02 17:31:08 +0000
committerAnnabel Gray <annabel.m.gray@gmail.com>2018-07-02 17:31:08 +0000
commit80e671aea30754d663c2a1ae480ab771b681ca04 (patch)
tree1e3d4c26fae9d645e37939b50f8b4652191d6513 /app/views/shared
parent9ce5b098801c9a06ca4352bc0cfb8fc921b45c61 (diff)
parent5870d5e4d481ed1a129d8b35c96b912b809da9d1 (diff)
downloadgitlab-ce-80e671aea30754d663c2a1ae480ab771b681ca04.tar.gz
Merge branch 'add-title-placeholder-for-new-issues' into 'master'
Add title placeholder for new issues Closes #48085 See merge request gitlab-org/gitlab-ce!20271
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/issuable/form/_title.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/form/_title.html.haml b/app/views/shared/issuable/form/_title.html.haml
index c35d0b3751f..e49bdec386a 100644
--- a/app/views/shared/issuable/form/_title.html.haml
+++ b/app/views/shared/issuable/form/_title.html.haml
@@ -6,7 +6,7 @@
%div{ class: div_class }
= form.text_field :title, required: true, maxlength: 255, autofocus: true,
- autocomplete: 'off', class: 'form-control pad qa-issuable-form-title'
+ autocomplete: 'off', class: 'form-control pad qa-issuable-form-title', placeholder: _('Title')
- if issuable.respond_to?(:work_in_progress?)
%p.form-text.text-muted