I want to implement a tracking-ads partial into my haml website.
%head
%link{:rel=>"shortcut icon", :href=>"/favicon.ico"}
%meta{"http-equiv"=>"Content-Type", :content=>"text/html;charset=utf-8"}
%title= page_title
-if @meta
[EMAIL PROTECTED] do |key|
%meta{:name=>key[0], :content=>key[1]}
= render :partial => "shared/scripts_and_styles"
- if @rss_title && @rss_url
= auto_discovery_link_tag(:rss, @rss_url, {:title => @rss_title})
= render :partial => "shared/etracker"
%body
#doc2{:class => "[EMAIL PROTECTED] ? 3 : 6}"}
= render :partial => "shared/header"
this is my implementet line... = render :partial => "shared/etracker"
but I got in Rails the following error
|1 space was used for indentation. Haml must be indented using two spaces.|
Extracted source (around line *#22*):
|19: = render :partial => "shared/scripts_and_styles"
20: - if @rss_title && @rss_url
21: = auto_discovery_link_tag(:rss, @rss_url, {:title => @rss_title})
22: = render :partial => "shared/etracker"
23: %body
24: #doc2{:class => "[EMAIL PROTECTED] ? 3 : 6}"}
25: = render :partial => "shared/header"
|
HELP
--
Mario Schröder | http://www.poppster.de
Phone: +49 34464 62301 Cell: +49 163 27 09 807
PGP-Key: follows
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---