5 -if @grito.errors.empty?
6 %title= "#{@grito.title} - ¡Grita!"
9 %link{:rel => 'stylesheet', :type => 'text/css', :href => '/style.css', :title => 'default'}
10 %link{:rel => "icon", :href => "/images/favicon.ico", :type => "image/x-icon"}
11 %link{:rel => "icon", :href => "/images/favicon.png", :type => "image/png"}
12 %script{:src => "http://www.google.com/jsapi", :type => "text/javascript" }
13 %script{:type => "text/javascript" }
15 google.load("jquery", "1.4.0");
16 %script{:src => "/js/jquery.qtip-1.0.0-rc3.min.js", :type => "text/javascript" }
17 %script{:type => "text/javascript" }
19 $(document).ready(function()
23 content: 'Imprime este código para que puedas compartirlo físicamente. (Solo necesitas un lector de códigos como kaywa o i-nigma en tu celular)',
28 target: 'bottomMiddle',
44 name: 'dark' // Inherit the rest of the attributes from the preset dark style
49 content: 'Usa esta dirección para compartir el texto via web.',
55 tooltip: 'bottomMiddle'
70 name: 'dark' // Inherit the rest of the attributes from the preset dark style
74 %meta{'http-equiv' => 'Contet-Type', :content => 'text/html; charset=utf-8' }/
75 %script{:type => "text/javascript" }
77 var _gaq = _gaq || [];
78 _gaq.push(['_setAccount', 'UA-20018878-1']);
79 _gaq.push(['_trackPageview']);
82 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
83 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
84 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
89 %a{:id => 'logomini', :href=> '/'}<