%style{:type => "text/css", :media => "screen"} :plain #container { text-transform: uppercase; } table { border-collapse: collapse; } table, th, td { border: 1px solid #666; padding: 4px; } %p Hi #{@contact_first_name} %p Monitoring has detected the following: %table %tbody %tr %td %strong Entity %td= @entity_name %tr %td %strong Check %td= @check %tr %td %strong State %td= @state.upcase %tr %td %strong Summary %td= @summary - if @details %tr %td %strong Details %td= @details %tr %td %strong Time %td= Time.at(@time.to_i).to_s %p Cheers, %p Flapjack