Sha256: 8cae0e49acee348c106f58dfeac52a5fc5436226438ebb24d675f773e0b4d06a

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

<% if content_for?(:page_description) || content_tabs? %>
  <div class="page-description"<% if content_tabs? %> class="with_content_tabs"<% end %>>
    <% if content_for?(:page_description_links) %>
      <div class="links">
        <%= content_for(:page_description_links) %>
      </div>
    <% end %>
    <h3>
      <%= content_for(:page_description) || content_for(:page_title) %>
    </h3>
    <% if content_tabs? %>
      <ul class="content-tabs"
          role="tablist">
        <% content_tabs.map do |t| %>
          <li id="content-tab-link-<%= t[:key] %>"
              data-tab="<%= t[:key] %>">
            <% if t[:options][:disabled] == true %>
              <%= t[:name] %>
            <% else %>
              <%= link_to(
                t[:name],
                { anchor: "#{t[:key]}" },
                data: {
                  action: "click->main#changeTab",
                  tab: t[:key]
                },
                role: "tab") %>
            <% end %>
          </li>
        <% end %>
      </ul>
    <% end %>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pages_core-3.15.5 app/views/layouts/admin/_page_header.html.erb
pages_core-3.15.4 app/views/layouts/admin/_page_header.html.erb
pages_core-3.15.3 app/views/layouts/admin/_page_header.html.erb
pages_core-3.15.2 app/views/layouts/admin/_page_header.html.erb
pages_core-3.15.1 app/views/layouts/admin/_page_header.html.erb