Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-13 01:55:40 +0300
committerClement Ho <ClemMakesApps@gmail.com>2018-04-13 01:55:40 +0300
commit53bf57f3acf00436ee16f93cda433670c08a2275 (patch)
treef82ec99cbba90fb1d85767bbee8b423dfb40be5c /app/views/projects/_issuable_by_email.html.haml
parent7d00cc9c409bf9c04d7a2f6f1b69bcf6efa9c10c (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.haml15
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'