stonean/slim — Issue #216: syntax error, unexpected keyword_ensure, expecting $end
Author: momchilov
Created: 2011-12-29 18:54:31+00:00
State: open

I think I'm missing something and I'm trying to figure out what. This message doesn't give a reason I can understand and I'm stuck.
```
_form.slim:47: syntax error, unexpected keyword_ensure, expecting $end
```

```slim
= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
= raw negative_captcha(@captcha)
= devise_error_messages!
br/
= f.label :username
= negative_label_tag @captcha, :username
br/
= negative_label_tag @captcha, :email
br/
= negative_text_field_tag @captcha, :email
br/
= negative_label_tag @captcha, :email_confirmation
br/
= negative_text_field_tag @captcha, :email_confirmation
br/
= negative_label_tag @captcha, :password
br/
= negative_password_field_tag @captcha, :password
br/
= negative_label_tag @captcha, :password_confirmation
br/
= negative_password_field_tag @captcha, :password_confirmation
br/
.tos
= f.check_box :terms_of_service
= negative_label_tag @captcha, :terms_of_service, "I accepted the terms & conditions and privacy policy"
//= f.label :terms_of_service, "I accept the terms & conditions and privacy policy"
br/
= f.submit "Submit", :tabindex => 11
```