Permalink
Browse files

Added basic support for text based browsers like w3m or lynx

  • Loading branch information...
1 parent cb00bea commit dfac962d3728e76c47535cf0c13e5b60228028d7 Ramon Egloff committed with Ramon Egloff Feb 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/words/_table.html.haml
@@ -4,4 +4,4 @@
- for column in 1..4
- chars = Word::CHARS[row-1][column-1].select{|c| word.word.downcase.include?(c)}.map{|c| c.upcase}.join(' ')
%td{:class => ("active" unless chars.empty?), :id => ("field_#{row}_#{column}" unless chars.empty?)}
- o
+ #{'o' unless chars.empty?} #{'-' if chars.empty?}

0 comments on commit dfac962

Please sign in to comment.