From e488149ebcd43b60b757e11a2b153d5e2be97b84 Mon Sep 17 00:00:00 2001 From: Ryan Fitzgerald Date: Sat, 24 Jul 2010 01:27:06 -0400 Subject: [PATCH] removing arrow characters which would cause haml render errors --- app/views/collection/_document.haml | 4 ++-- app/views/collection/_documents.haml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/collection/_document.haml b/app/views/collection/_document.haml index dab4d9c..c080d09 100644 --- a/app/views/collection/_document.haml +++ b/app/views/collection/_document.haml @@ -9,12 +9,12 @@ - seperator = "" = succeed ':' do - %code{:class=> "key", :nospace =>"both"}&= "#{key}" + %code{:class=> "key", :nospace =>"both"}= "#{key}" = succeed seperator do - if value.is_a? Hash = partial 'collection/document', :object => value - else - %code{:class=> "#{determin_style_class_for(value)} value" }&= pretty_print value + %code{:class=> "#{determin_style_class_for(value)} value" }= pretty_print value - counter += 1 \ No newline at end of file diff --git a/app/views/collection/_documents.haml b/app/views/collection/_documents.haml index 802f325..9e25f54 100644 --- a/app/views/collection/_documents.haml +++ b/app/views/collection/_documents.haml @@ -17,7 +17,7 @@ %tr %td{:colspan => 2} #paging - ← Previous Page | Next Page → + Previous Page | Next Page %span= "Showing 1-11 of #{@collection.count} Documents" - @docs.each do |doc| %tr