summaryrefslogtreecommitdiff
path: root/app/views/shared/form_elements/_apply_template_warning.html.haml
blob: 73be0c741dcc4bf4efef76608ca66991b71662c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.form-group.row.js-template-warning.hidden.js-issuable-template-warning
  .col-sm-12
    .warning_message.mb-0{ role: 'alert' }
      %btn.js-close-btn.js-dismiss-btn.close{ type: "button", "aria-hidden": true, "aria-label": _("Close") }
        = sprite_icon("close")

      %p
        = _("Applying a template will replace the existing issue description. Any changes you have made will be lost.")

      %button.js-override-template.btn.btn-warning.mr-2{ type: 'button' }
        = _("Apply template")
      %button.js-close-btn.js-cancel-btn.btn.btn-inverted{ type: 'button' }
        = _("Cancel")