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? %>
  • <%= link_to t(:logout), destroy_user_session_path, :class => 'orbit-bar-logout' %>
  • <% 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) %>
    • <%= link_to content_tag(:button, t(:register), :class => 'btn btn-danger'), new_user_registration_path, :style => "padding:0px;" %>
    • <% end %>
  • <% end %>