summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-30 21:15:33 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-09-30 21:15:33 +0200
commit0c84ffad1c2d1e10e255d832fa16b7eb097f566c (patch)
treed65b352b19282db483af86c4fa398d313f916b36
parent2b88c9cd15d79ff755cea501d5d6fb511538de73 (diff)
downloadgitlab-ce-0c84ffad1c2d1e10e255d832fa16b7eb097f566c.tar.gz
Improve remove file textarea placeholder.
-rw-r--r--app/views/projects/blob/_remove.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/blob/_remove.html.haml b/app/views/projects/blob/_remove.html.haml
index 93ffd4463b1..90659343d97 100644
--- a/app/views/projects/blob/_remove.html.haml
+++ b/app/views/projects/blob/_remove.html.haml
@@ -15,7 +15,8 @@
Commit message
.col-sm-10
= render 'shared/commit_message_container', {textarea: text_area_tag('commit_message',
- params[:commit_message], placeholder: "Removed this file because...", required: true, rows: 3, class: 'form-control')}
+ params[:commit_message], placeholder: "Remove #{@blob.name}",
+ required: true, rows: 3, class: 'form-control')}
.form-group
.col-sm-2
.col-sm-10