From b7be4f63119c71b07eacc9af9e6a15db63ef65ea Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Wed, 1 Dec 2010 13:10:52 -0700 Subject: Version 1.0 Como quien dice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ya todo estilizado, arregle unas cosas en cuanto a validación ... y aha. --- views/layout.haml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'views/layout.haml') diff --git a/views/layout.haml b/views/layout.haml index 2954a06..6fed808 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -1,7 +1,11 @@ !!! 5 %html %head - %title ¡Grita! + -unless @grito.nil? + -if @grito.errors.empty? + %title= "#{@grito.title} - ¡Grita!" + -else + %title ¡Grita! %link{:rel => 'stylesheet', :type => 'text/css', :href => '/style.css', :title => 'default'} %meta{'http-equiv' => 'Contet-Type', :content => 'text/html; charset=utf-8' }/ %body -- cgit