Commit 1f036cb7 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Unify app/views/shared/issuable/_form.html.haml

parent cb906987
......@@ -29,7 +29,7 @@
= render 'shared/issuable/form/metadata', issuable: issuable, form: form
= render 'shared/issuable/approvals', issuable: issuable, form: form
= render_if_exists 'shared/issuable/approvals', issuable: issuable, form: form
= render 'shared/issuable/form/branch_chooser', issuable: issuable, form: form
......@@ -79,12 +79,6 @@
%strong= link_to('contribution guidelines', guide_url)
for this project.
%li.unsaved-approvers.hide.approver.approver-template{ id: "user_{user_id}" }
= link_to "{approver_name}", "#"
.float-right
= link_to "#", data: { confirm: "Are you sure you want to remove approver {approver_name}"}, class: "btn-sm btn btn-remove", title: 'Remove approver' do
= icon("sign-out")
Remove
= render_if_exists 'shared/issuable/remove_approver'
= form.hidden_field :lock_version
%li.unsaved-approvers.hide.approver.approver-template{ id: "user_{user_id}" }
= link_to "{approver_name}", "#"
.float-right
= link_to "#", data: { confirm: "Are you sure you want to remove approver {approver_name}"}, class: "btn-sm btn btn-remove", title: 'Remove approver' do
= icon("sign-out")
Remove
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment