Orbit
  • <%= link_to content_tag(:i, nil, :class => 'icons-dashboard') + t('admin.dashboard'), admin_dashboards_path %>
  • Content
  • <%= link_to content_tag(:i, nil, :class => 'icons-member') + t('admin.member'), admin_users_path %>
  • <%= link_to content_tag(:i, nil, :class => 'icons-asset') + t('admin.asset'), admin_assets_path %>
  • Structure
  • Add Item
  • <%= link_to t(:homepage), root_path, :class => 'orbit-bar-home' %>
  • Desktop
    <% if user_signed_in? %>
  • <%= image_tag current_user.avatar.thumb.url, :class => 'member-img' %> <%= current_user.name %>
    • Account settings
    • <%= link_to content_tag(:i, nil, :class => 'icons-out') + t(:logout), destroy_user_session_path %>
    • Help
  • <% else %>
  • <%= t(:login) %>
    • <%= form_for :user, :url => user_session_path do |f| %>
    • <%= f.text_field :email, :class => 'span2', :placeholder => t(:email), :size => 16 %>
    • <%= f.password_field :password, :class => 'span2', :placeholder => t(:password), :size => 16 %>
    • <%= link_to t(:forgot_password), new_user_password_path, :class => 'forgot' %>
    • <%= content_tag :button, t(:login), :type => :submit, :class => 'btn btn-primary' %>
    • <%= t(:or_lower) %>
    • <% end %>
    <%= link_to t(:register), new_user_registration_path, :class => 'btn btn-danger register' %>
  • <% end %>