Sha256: c807b0c9840c857c49f64363d0cefde5a3ef4a43689cd94dbd56fecec79b6749

Contents?: true

Size: 1.53 KB

Versions: 2

Compression:

Stored size: 1.53 KB

Contents

<%= yield :top_of_page %>
<!DOCTYPE html>
<html lang="en">
<head>
    <title><%= yield :page_title %> </title>
    <meta name="viewport" content="width=device-width" />
    <%= yield :head %>
</head>

<body class="<%= yield :body_classes %>">
    <script>
        document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
    </script>
    <%= yield :body_start %>

    <header role="banner" id="global-header" class="<%= yield :header_class%>">
        <div id="header-wrapper">
            <div id="header-contents">
                <div id="header-float-left">
                    <div id="header-logo">
                        <a href="/" title="Home" id="logo" class="content">
                            <div id="coat-of-arms" alt=""></div>
                            <div class="name">DVLA</div>
                            <div class="service-name"><%= yield :service_name %></div>
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <% if content_for?(:tabs_top) %>
            <% yield :tabs_top %>
        <% else %>
            <ul>
                <li>Tab title one</li>
                <li class="active">Tab title two</li>
                <li>Tab title three</li>
                <li>Tab title four</li>
            </ul>
        <% end %>
    </header>

    <%= yield :after_header %>

    <main id="content">
        <div class="container-fluid">
            <%= yield :content %>
        </div>
    </main>
</body>

</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dvla_internal_frontend_toolkit-0.3.2 app/views/layouts/erb/layout-fluid-tabs-top.html.erb
dvla_internal_frontend_toolkit-0.3.1 app/views/layouts/erb/layout-fluid-tabs-top.html.erb