Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

51 lines (49 sloc) 1.612 kB
!!! 5
%html{:lang => "en"}
%head
%meta{:charset => "UTF-8"}/
%title
Kensho ~ けんしょう
%link{:rel=>"stylesheet", :type=>"text/css", :href=>"/stylesheet.css"}
%link{:rel=>"stylesheet", :type=>"text/css", :href=>"/stylesheets/fancybox.css"}
%body
#header
= haml(:header, :layout=>false)
#content
- if @exception
#exception
%h2= @exception
#validation
- unless @errors.nil?
%h2 Markup Validation
- if @errors.count > 0
#errors
%ul
- x = 0
- @errors.each do |err|
- if x == 1
- x = 0
- evenodd = "even"
- else
- x = 1
- evenodd = "odd"
%li{:class=>evenodd}= err.to_s
- if @warnings && @warnings.length > 0
#warnings
%ul
- y = 0
- @warnings.each do |warn|
- if y == 1
- y = 0
- oddeven = "odd"
- else
- y = 1
- oddeven = "even"
%li{:class=>oddeven}= warn.to_s
- elsif @errors.nil? || @errors.count == 0
#valid
%h2 Valid!!
#footer= haml(:footer, :layout=>false)
%script{:type=>"text/javascript"}
var rumbleUrl = 'http://railsrumble.com/teams/kensho';
%script{:type=>"text/javascript", :src=>"http://blog.railsrumble.com/javascripts/rumble-r10-sash.js"}
Jump to Line
Something went wrong with that request. Please try again.