• <%= text_field_tag 'q','', {:class => "search-query input-medium", :placeholder => "Search", 'x-webkit-speech' => ''} %>
  • <%= t(:_locale, :locale => I18n.locale) %>
      <% current_site.in_use_locales.each do |locale| %> <%= content_tag :li, (link_to t(:_locale, :locale => locale)), :class => (I18n.locale.eql?(locale.to_sym) ? 'active' : nil), tabindex: "-1" %> <% end %>
  • <% if current_user.present? %>
  • <%= image_tag 'menber-pic.png', class: "user-pic" %> <%= current_user.user_name %>
    • <%= link_to content_tag(:i, nil, class: 'icons-tools') + ' ' + t("users.change_passwd"), tabindex: '-1' %>
    • <%= link_to content_tag(:i, nil, class: 'icons-vcard') + ' ' + t("users.user_basic_data"), tabindex: '-1' %>
    • <%= link_to content_tag(:i, nil, class: 'icons-logout') + ' ' + t(:logout), logout_path, tabindex: '-1' %>
    • <%= t(:help) %>
  • <% else %>
  • <%= t(:login) %>
  • <%= t(:login_orbit) %>

    <%= form_for :user, url: sessions_path, html: {class: 'container'} do |f| %>
    <%= f.text_field :user_name, 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)) %>
    <% end %>
    <% end %>