diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-13 01:55:40 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-13 01:55:40 +0300 |
commit | 53bf57f3acf00436ee16f93cda433670c08a2275 (patch) | |
tree | f82ec99cbba90fb1d85767bbee8b423dfb40be5c /app/views/projects/_issuable_by_email.html.haml | |
parent | 7d00cc9c409bf9c04d7a2f6f1b69bcf6efa9c10c (diff) |
[skip ci] input-group-btn's input-group-text should not create a new div
Diffstat (limited to 'app/views/projects/_issuable_by_email.html.haml')
-rw-r--r-- | app/views/projects/_issuable_by_email.html.haml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/app/views/projects/_issuable_by_email.html.haml b/app/views/projects/_issuable_by_email.html.haml index 1704b52ef6c..e3dc0677bd6 100644 --- a/app/views/projects/_issuable_by_email.html.haml +++ b/app/views/projects/_issuable_by_email.html.haml @@ -18,14 +18,13 @@ .email-modal-input-group.input-group = text_field_tag :issuable_email, email, class: "monospace js-select-on-focus form-control", readonly: true .input-group-append - .input-group-text - = clipboard_button(target: '#issuable_email', class: 'btn btn-clipboard btn-transparent d-none d-sm-block') - = mail_to email, class: 'btn btn-clipboard btn-transparent', - subject: _("Enter the #{name} title"), - body: _("Enter the #{name} description"), - title: _('Send email'), - data: { toggle: 'tooltip', placement: 'bottom' } do - = sprite_icon('mail') + = clipboard_button(target: '#issuable_email', class: 'btn btn-clipboard input-group-text btn-transparent d-none d-sm-block') + = mail_to email, class: 'btn btn-clipboard btn-transparent', + subject: _("Enter the #{name} title"), + body: _("Enter the #{name} description"), + title: _('Send email'), + data: { toggle: 'tooltip', placement: 'bottom' } do + = sprite_icon('mail') %p = render 'by_email_description' |