Sha256: 3099241346f08dc67097abc2dc0e91fb9a1cee7779828c748141a28afab4f5fa

Contents?: true

Size: 1000 Bytes

Versions: 13

Compression:

Stored size: 1000 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
pages_core-3.11.3 app/views/layouts/admin/_page_header.html.erb
pages_core-3.11.2 app/views/layouts/admin/_page_header.html.erb
pages_core-3.11.1 app/views/layouts/admin/_page_header.html.erb
pages_core-3.11.0 app/views/layouts/admin/_page_header.html.erb
pages_core-3.10.2 app/views/layouts/admin/_page_header.html.erb
pages_core-3.10.1 app/views/layouts/admin/_page_header.html.erb
pages_core-3.9.2 app/views/layouts/admin/_page_header.html.erb
pages_core-3.9.1 app/views/layouts/admin/_page_header.html.erb
pages_core-3.9.0 app/views/layouts/admin/_page_header.html.erb
pages_core-3.8.3 app/views/layouts/admin/_page_header.html.erb
pages_core-3.8.2 app/views/layouts/admin/_page_header.html.erb
pages_core-3.8.1 app/views/layouts/admin/_page_header.html.erb
pages_core-3.8.0 app/views/layouts/admin/_page_header.html.erb