diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-02 14:39:39 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-02 14:41:56 +0100 |
commit | 72ab3b17d338c15f27e3bb1fbd0e7cefaa10b94d (patch) | |
tree | e24547fb39a86e0cdf4a786fdc180211c11ce89f /app/views/shared/_new_commit_form.html.haml | |
parent | 2aeb26bd8823fa681413bd0f64b7b068f41ec4e3 (diff) | |
download | gitlab-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.haml | 2 |
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 |