<%= form_for @user, :url => account_path, :html => {:class => 'form-horizontal'} do |f| %> <%= error_messages_for 'user', :header_message => t(:try_again), :message => t(:account_error_edit) %>
<%= f.text_field :login, :class => 'form-control' %>
<%= f.text_field :email, :class => 'form-control' %>

<%= time_zone_select 'user', 'time_zone', nil, {:default => 'Eastern Time (US & Canada)'}, {:class => 'form-control'} %>

<%= f.password_field :password, :class => 'form-control' %>
<%= f.password_field :password_current, :class => 'form-control' %>

<%= f.submit t(:account_update), :class => 'btn btn-primary' %>

<% end %>