Sorry, but I just tried your exact layout code in a fresh app with Haml
4.0.1 and it didn't cause any errors.


On Thu, Mar 21, 2013 at 12:40 PM, Ismael Gimenez <scummba...@gmail.com>wrote:

>
> Code:
>
> !!! 5
> %html{ :lang=> I18n.locale }
>   %head
>     %meta(charset="utf-8")
>     %meta(name="viewport" content="width=device-width, initial-scale=1.0")
>     %title Scanndash
>     = csrf_meta_tags
>     = stylesheet_link_tag "application", :media => "all"
>     = javascript_include_tag "vendor"
>     = javascript_include_tag "application" if user_signed_in?
>     = javascript_include_tag "
> https://maps.googleapis.com/maps/api/js?sensor=false";
>     = javascript_include_tag "markerclusterer"
>     %script{:type=>'text/javascript'}= yield :dynamic_js
>
>   %body= yield
>
>
> Error:
>
>
> 2013-03-20T16:23:08+00:00 app[web.1]:     8:     = stylesheet_link_tag
> "application", :media => "all"
> 2013-03-20T16:23:08+00:00 app[web.1]:   (in
> /app/app/assets/javascripts/app.coffee)):
> 2013-03-20T16:23:08+00:00 app[web.1]:     11:     = javascript_include_tag
> "https://maps.googleapis.com/maps/api/js?sensor=false";
> 2013-03-20T16:23:08+00:00 app[web.1]:     12:     = javascript_include_tag
> "markerclusterer"
> 2013-03-20T16:23:08+00:00 app[web.1]:
> 2013-03-20T16:23:08+00:00 app[web.1]: ActionView::Template::Error
> (SyntaxError: unexpected INDENT
> 2013-03-20T16:23:08+00:00 app[web.1]:     7:     = csrf_meta_tags
> 2013-03-20T16:23:08+00:00 app[web.1]:
> app/views/layouts/application.html.haml:10:in
> `_app_views_layouts_application_html_haml___1841377898848519774_61227540'
> 2013-03-20T16:23:08+00:00 app[web.1]:     9:     = javascript_include_tag
> "vendor"
> 2013-03-20T16:23:08+00:00 app[web.1]: Completed 500 Internal Server Error
> in 226ms
> 2013-03-20T16:23:08+00:00 app[web.1]:     13:
> %script{:type=>'text/javascript'}= yield :dynamic_js
> 2013-03-20T16:23:08+00:00 app[web.1]:
> 2013-03-20T16:23:08+00:00 app[web.1]:     10:     = javascript_include_tag
> "application" if user_signed_in?
>
> Any ideas?
>
> Thanks in advance!
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to haml+unsubscr...@googlegroups.com.
> To post to this group, send email to haml@googlegroups.com.
> Visit this group at http://groups.google.com/group/haml?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haml+unsubscr...@googlegroups.com.
To post to this group, send email to haml@googlegroups.com.
Visit this group at http://groups.google.com/group/haml?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to