= devise_error_messages! = form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => 'form-horizontal'}) do |f| %fieldset %legend Member Sign In .control-group = f.label :email, :class=>'control-label', :tabindex => "1" .controls = f.text_field :email .control-group = f.label :password, :class=>'control-label', :tabindex => "2" .controls = f.password_field :password, autocomplete: 'off' %p.help-block= link_to "Forgot your password?", new_password_path(resource_name) .form-actions = f.submit "Sign In", :class => "btn btn-primary btn-large", :tabindex => "3"