<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => {:class => 'form-horizontal'}) do |f| %> <%= devise_error_messages! %>
<%= 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_confirmation, :class => 'form-control' %>

<%= f.submit t(:create_account), :id => "user_submit", :class => 'btn btn-primary' %>

<% end %>