From 9a3b1504dc15afe93d3fd661fea533af941f32f0 Mon Sep 17 00:00:00 2001 From: Gerard Montemayor Date: Sat, 22 Sep 2018 13:11:41 +0800 Subject: [PATCH] Removed span tag and p tag from form-text --- app/views/shared/issuable/form/_title.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/shared/issuable/form/_title.html.haml b/app/views/shared/issuable/form/_title.html.haml index 975c125e506..56c4b021eab 100644 --- a/app/views/shared/issuable/form/_title.html.haml +++ b/app/views/shared/issuable/form/_title.html.haml @@ -9,8 +9,8 @@ autocomplete: 'off', class: 'form-control pad qa-issuable-form-title', placeholder: _('Title') - if issuable.respond_to?(:work_in_progress?) - %p.form-text.text-muted - %span.js-wip-explanation + .form-text.text-muted + .js-wip-explanation %a.js-toggle-wip{ href: '', tabindex: -1 } Remove the %code WIP: @@ -18,7 +18,7 @@ to allow this %strong Work In Progress merge request to be merged when it's ready. - %span.js-no-wip-explanation + .js-no-wip-explanation - if has_wip_commits It looks like you have some WIP commits in this branch. %br