Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-04-06 12:16:39 +0300
committerPhil Hughes <me@iamphill.com>2016-04-11 19:40:36 +0300
commit6333ebe619848aaec3811c9e8908c017317c019f (patch)
tree0e92d63753a9124a6059c07f84953349e3ea6746 /app/views/shared/_commit_message_container.html.haml
parent7998725e3c2557c04ceece028dd73a316a3a746c (diff)
Prefills commit message in edit file
See #14488
Diffstat (limited to 'app/views/shared/_commit_message_container.html.haml')
-rw-r--r--app/views/shared/_commit_message_container.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_commit_message_container.html.haml b/app/views/shared/_commit_message_container.html.haml
index 7afbaeddee8..eeb4e2f5563 100644
--- a/app/views/shared/_commit_message_container.html.haml
+++ b/app/views/shared/_commit_message_container.html.haml
@@ -6,7 +6,7 @@
.commit-message-container
.max-width-marker
= text_area_tag 'commit_message',
- (params[:commit_message] || local_assigns[:text]),
+ (params[:commit_message] || local_assigns[:placeholder]),
class: 'form-control js-commit-message', placeholder: local_assigns[:placeholder],
required: true, rows: (local_assigns[:rows] || 3),
id: "commit_message-#{nonce}"