summaryrefslogtreecommitdiff
path: root/app/views/shared/issuable/_form.html.haml
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-02-16 14:05:11 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-03-17 07:39:15 +0100
commit5dea8fb9eda2490e5a05221afd15f1ddd6d79fe5 (patch)
tree2e5ac052f1c5d4d5497404955d65f986b7329d24 /app/views/shared/issuable/_form.html.haml
parent9882802a8b70e998ff6850a3d096b3b52730ab85 (diff)
downloadgitlab-ce-5dea8fb9eda2490e5a05221afd15f1ddd6d79fe5.tar.gz
Add mock-up for interface being used to move issue
Diffstat (limited to 'app/views/shared/issuable/_form.html.haml')
-rw-r--r--app/views/shared/issuable/_form.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/shared/issuable/_form.html.haml b/app/views/shared/issuable/_form.html.haml
index d5a4aad05d9..16412581ccb 100644
--- a/app/views/shared/issuable/_form.html.haml
+++ b/app/views/shared/issuable/_form.html.haml
@@ -67,6 +67,14 @@
- if can? current_user, :admin_label, issuable.project
= link_to 'Create new label', new_namespace_project_label_path(issuable.project.namespace, issuable.project), target: :blank
+- if issuable.is_a?(Issue)
+ %hr
+ .form-group
+ = f.label :move_to_project_id, 'Move', class: 'control-label'
+ .col-sm-10
+ = project_select_tag("#{issuable.class.model_name.param_key}[move_to_project_id]",
+ placeholder: 'Select project', class: 'custom-form-control')
+
- if issuable.is_a?(MergeRequest)
%hr
- if @merge_request.new_record?