• '> '> <%= text_field_tag 'q','', {:class => "search-query input-medium", :placeholder => t(:search_google), 'x-webkit-speech' => ''} %>
  • <%= t(:_locale, :locale => I18n.locale) %>
      <% @site_in_use_locales.each do |locale| %> <%= content_tag :li, (link_to t(:_locale, :locale => locale), add_locale(remove_locale((@referer || request.fullpath)), locale)), :class => (I18n.locale.eql?(locale.to_sym) ? 'active' : nil), tabindex: "-1" %> <% end %>
  • <% if user_signed_in? %>
  • <%= image_tag 'menber-pic.png', class: "user-pic" %> <%= current_user.name %>
    • <%= link_to content_tag(:i, nil, class: 'icons-tools') + ' ' + t(:account_settings), desktop_path + "#settings-account", tabindex: '-1' %>
    • <%= link_to content_tag(:i, nil, class: 'icons-screen') + ' ' + t(:desktop), desktop_path, tabindex: '-1' %>
    • <%= link_to content_tag(:i, nil, class: 'icons-logout') + ' ' + t(:logout), destroy_user_session_path, tabindex: '-1' %>
    • <%= t(:help) %>
  • <% else %>
  • <%= t(:login) %>
  • <%= t(:login_orbit) %>

    <%= form_for :user, url: user_session_path, html: {class: 'container'} do |f| %>
    <%= f.text_field :user_id, class: "input-xlarge" , placeholder: t("users.user_id") %>
    <%= f.password_field :password, class: "input-xlarge", placeholder: t(:password) %>
    <%= content_tag :button, t(:login), :type => :submit, :class => 'btn btn-primary' %>
    <%= link_to content_tag(:small, t(:forgot_password)), new_user_password_path %>
    <% end %>
    <% end %>