summaryrefslogtreecommitdiff
path: root/app/views/shared/_new_commit_form.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-02 14:39:39 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-02 14:41:56 +0100
commit72ab3b17d338c15f27e3bb1fbd0e7cefaa10b94d (patch)
treee24547fb39a86e0cdf4a786fdc180211c11ce89f /app/views/shared/_new_commit_form.html.haml
parent2aeb26bd8823fa681413bd0f64b7b068f41ec4e3 (diff)
downloadgitlab-ce-72ab3b17d338c15f27e3bb1fbd0e7cefaa10b94d.tar.gz
Use js-requires-input where appropriate
Diffstat (limited to 'app/views/shared/_new_commit_form.html.haml')
-rw-r--r--app/views/shared/_new_commit_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_new_commit_form.html.haml b/app/views/shared/_new_commit_form.html.haml
index ce52614e868..31b02ed93d0 100644
--- a/app/views/shared/_new_commit_form.html.haml
+++ b/app/views/shared/_new_commit_form.html.haml
@@ -4,7 +4,7 @@
.form-group.branch
= label_tag 'new_branch', 'Target branch', class: 'control-label'
.col-sm-10
- = text_field_tag 'new_branch', @new_branch || @ref, class: "form-control js-new-branch"
+ = text_field_tag 'new_branch', @new_branch || @ref, required: true, class: "form-control js-new-branch"
.form-group.js-create-merge-request-form-group
.col-sm-offset-2.col-sm-10