Error rendering _new_ldap.html.haml
Created by: sdiaz
Hello I got this error when using Omniauth and LDAP. It happens since the last modification on the file.
Started GET "/users/sign_in" for 192.168.2.156 at 2012-09-10 11:19:03 +0200
Processing by Devise::SessionsController#new as */*
Rendered devise/sessions/_new_ldap.html.haml (3.9ms)
Rendered devise/sessions/new.html.haml within layouts/devise_layout (4.2ms)
Completed 500 Internal Server Error in 6ms
ActionView::Template::Error (/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:19: syntax error, unexpected ')'
));}\n#{_hamlout.format_script...
^
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:22: syntax error, unexpected keyword_class, expecting keyword_do or '{' or '('
_hamlout.buffer << "<div class='clearfix inputs-list'>\n<la...
^
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:22: syntax error, unexpected $undefined
... class='clearfix inputs-list'>\n<label class='checkbox remem...
... ^
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:22: syntax error, unexpected keyword_class, expecting keyword_do or '{' or '('
...fix inputs-list'>\n<label class='checkbox remember_me' for='...
... ^
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:22: syntax error, unexpected keyword_for, expecting keyword_end
...lass='checkbox remember_me' for='user_remember_me'>\n#{
... ^
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:22: syntax error, unexpected $undefined
...er_me' for='user_remember_me'>\n#{
... ^
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:25: syntax error, unexpected '}', expecting keyword_end
));}\n<span>Remember me</span>\n</label>\n</div>\n";end
^
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:25: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
));}\n<span>Remember me</span>\n</label>\n</div>\n";end
^
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:25: unknown regexp options - labl
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:25: syntax error, unexpected $undefined
));}\n<span>Remember me</span>\n</label>\n</div>\n";end
^
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:30: unknown regexp options - dv
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:30: syntax error, unexpected $undefined
));}\n</div>\n";end
^
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:30: unterminated string meets end of file
/home/gitlab/gitlab/app/views/devise/sessions/_new_ldap.html.haml:30: syntax error, unexpected $end, expecting keyword_end):
16: $('#new_user').toggle();
17: });
18: = form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => "login-box" }) do |f|
19: = f.text_field :email, :class => "text top", :placeholder => "Email"
20: = f.password_field :password, :class => "text bottom", :placeholder => "Password"
21: - if devise_mapping.rememberable?
22: .clearfix.inputs-list
app/views/devise/sessions/new.html.haml:2:in `_app_views_devise_sessions_new_html_haml__3290476701706352037_54952660'