summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-06-29 20:29:44 +0300
committerGeorge Tsiolis <tsiolis.g@gmail.com>2018-06-29 20:29:44 +0300
commit0dae2d777c3f7c7ceb9e5cc4f38878e2fef947ff (patch)
tree8e9867a762091b9cfbe56057d4460b1429bd76ad /app/views/shared
parent70cf3bff18e358beaff9efc52906748636718d99 (diff)
downloadgitlab-ce-0dae2d777c3f7c7ceb9e5cc4f38878e2fef947ff.tar.gz
Add title placeholder for new issues
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