From 091356a8da5b7dfca13075bec5089d700a1d9782 Mon Sep 17 00:00:00 2001 From: Chashmeet Singh Date: Sat, 10 Oct 2015 14:42:30 +0530 Subject: Added table implementation in ruby --- haml.html.markdown | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'haml.html.markdown') diff --git a/haml.html.markdown b/haml.html.markdown index 847714e6..d44a4728 100644 --- a/haml.html.markdown +++ b/haml.html.markdown @@ -127,6 +127,25 @@ $ haml input_file.haml output_file.html Again, no need to add the closing tags to the block, even for the Ruby. Indentation will take care of that for you. +/ ------------------------------------------- +/ Inserting Table with bootstrap classes +/ ------------------------------------------- + +%table.table.table-hover + %thead + %tr + %th Header 1 + %th Header 2 + + %tr + %td Value1 + %td value2 + + %tfoot + %tr + %td + Foot value + / ------------------------------------------- / Inline Ruby / Ruby interpolation -- cgit v1.2.3