<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% fields_for @user do |form| %>
<%= form.label :username, t_label('users.profile.language'), :class => "language-label item-label" %>
<%= select_tag(:locale, options_for_select(I18n.available_locales, (@user.locale || I18n.locale).to_sym), {:dojoType => "helpsys.ext.ComboBox", :forceSelection => false, :editable => false, :typeAhead => true, :triggerAction => 'all', :id => '', :width => 50, :cls =>"language-combobox", :fieldLabel => "test", :name => 'user[locale]'}) %>

<%= form.label :username, t_label('users.profile.show_year'), :class => "language-label item-label" %>
<%= check_box :user, :show_year, :disabled => @view_only %>

<%= t('users.profile.show_year_caption') %>

<% end %>