<% if current_user.is_admin? && (@user.user_name != "rulingcom" rescue false) %>
<%= f.text_field :user_name, :class=>"input-medium", :id=>"account", :placeholder=>"#{t('users.user_id')}" %>
<%= t("users.user_id_note")%>
<% else %>
<%= f.text_field :user_name, :class=>"input-medium", :id=>"account", :placeholder=>"#{t('users.user_id')}" %>
<%= t("users.user_id_note")%>
<% end %>
<%= t("users.new_password_confirmation")%>
<%= f.password_field :password_confirmation, :class=>"input-medium", :id=>"confirm_password" %>
<%= f.hidden_field :approved, value: true if current_user.is_admin? %>
<%= f.hidden_field :force_reset_password, value: false %>