Sha256: 6ff9712f478898d1428f6ccc2a2ab5e97329086baa30833ddb1af55208479046
Contents?: true
Size: 1.17 KB
Versions: 5
Compression:
Stored size: 1.17 KB
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="tabbable tabs-left float right"> <%= nav_list :class => "nav-tabs" do %> <% Fullstack::Admin.resources.each do |rog| %> <% if rog.type == :group %> <%= nav_header t("fullstack.admin.groups.#{rog.name}", :default => rog.name.to_s.humanize) %> <% elsif rog.type == :resource %> <%= nav_item t("fullstack.admin.resources.#{rog.name}", :default => rog.name.to_s.humanize), [:admin, rog.name] %> <% end %> <% end %> <% end %> </div> <% end -%>
Version data entries
5 entries across 5 versions & 1 rubygems