forked from 3scale/porta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wizard.html.slim
35 lines (30 loc) · 985 Bytes
/
wizard.html.slim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
doctype html
html[lang="en" class="pf-m-redhat-font"]
head
meta[charset="utf-8"]
title
= content_for?(:title) ? yield(:title) : default_title
| | Red Hat 3scale API Management
= csrf_meta_tag
= rails_asset_url_tag
= javascript_pack_tag 'PF4Styles/base'
= stylesheet_link_tag "provider/themes/wizard.css"
= render 'provider/analytics'
= javascript_include_tag 'provider/layout/provider'
= yield :javascripts
body
header
= render partial: "/provider/logo"
= link_to provider_admin_dashboard_path , id: "wizard-close", class: "wizard-close", title: "close this wizard" do
i.fa.fa-times
end
= render 'shared/provider/flash', flash: flash
main
- if content_for :title
h1 = content_for :title
= yield
javascript:
analytics.trackLink(document.getElementById('wizard-close'), 'Wizard Step', {
step: 'closed',
path: window.location.pathname
})