Sha256: 0cc0d9e017afbc0a84b30f84f32556bc82619620029e7de9dba307a606e379e7

Contents?: true

Size: 946 Bytes

Versions: 2

Compression:

Stored size: 946 Bytes

Contents

<% content_for :menu do -%>
  
  <%= nav do %>
  <%= nav_item t('fullstack.admin.dashboard', :default => "Dashboard"), admin_root_path, :icon => "cog" , :icon_color => :white %>
  <% end %>
  
  <%= nav(:class => 'float right') do %>
  <%= nav_item t('fullstack.admin.homepage', :default => "Homepage"), "/", :icon => "home" , :icon_color => :white %>
    <%= dropdown_nav_item t('fullstack.admin.account', :default => "Account"), :icon => "user" , :icon_color => :white do %>
        <%= nav_item t('fullstack.admin.logout', :default => "Logout"), destroy_user_session_path, :method => :delete %>
    <% end %>
  <% end %>
  
<% end -%>

<% content_for :nav do -%>
  
  <div class="well">
    <%= nav_list do %>
      <!-- FULLSTACK_PLACEHOLDER -->
    
      <!-- Please do not delete the comment above. 
           It is used by fullstack generators
           to attach new items to this menu.
        -->
    <% end %>
  </div>


<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fullstack-admin-0.1.17 lib/generators/fullstack/admin/templates/root/app/views/admin/shared/_nav.html.erb
fullstack-admin-0.1.16 lib/generators/fullstack/admin/templates/root/app/views/admin/shared/_nav.html.erb