Sha256: 2d6064a21ca37338cd0b5cbb3ac15fc4f34c90cacb4befee938046c55ab8edb5

Contents?: true

Size: 1.41 KB

Versions: 23

Compression:

Stored size: 1.41 KB

Contents

<div id='naf'>
  <div id="fluid">
    <div id='hd'>
      <div id="header">
        <h3><%= link_to Naf.title.html_safe, naf.root_url %></h3>
      </div>
    </div>
    <div id="navigation">
      <ul id="tabs">
        <% naf_tabs.each_key do |tab| %>
            <% if naf_highlight_tab?(tab) %>
                <li id="on">
            <% else %>
                <li>
            <% end %>
            <%= naf_generate_index_link(tab) %>
            </li>
        <% end %>
      </ul>
      <div class="clear"></div>
    </div>
    <div id='bd'>
      <% naf_tabs.each do |tab, child_tabs| %>
          <% if naf_highlight_tab?(tab) && !child_tabs.blank? %>
            <div id="child_navigation">
                <ul id="child_tabs">
                  <% child_tabs.each do |child_tab| %>
                    <% if naf_highlight_tab?(child_tab) %>
                      <li id="on">
                    <% else %>
                      <li>
                  <% end %>
                  <%= naf_generate_index_link(child_tab) %>
                  </li>
                  <% end %>
                </ul>
                <div class="clear"></div>
            </div>
            <div id='child_bd'>
              <% @naf_render_body = true %>
              <%= yield :body %>
            </div>
          <% end %>
      <% end %>
      <% unless @naf_render_body %>
        <%= yield :body %>
      <% end %>
    </div>
  </div>
</div>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
naf-1.1.2 app/views/naf/shared/_application.html.erb
naf-1.1.1 app/views/naf/shared/_application.html.erb
naf-1.1.0 app/views/naf/shared/_application.html.erb