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 %>
  • <%= form_for "user", :url => user_session_path, :html => {:class => 'log'} do |f| %> <%= f.text_field :email, :class => 'input-small', :placeholder => t(:email) %> <%= f.password_field :password, :class => 'input-small', :placeholder => t(:password) %> <%= content_tag :button, t(:login), :type => :submit, :class => 'btn' %> <% end %>
  • <% end %>