summaryrefslogtreecommitdiffhomepage
path: root/haml.html.markdown
diff options
context:
space:
mode:
authorChashmeet Singh <chashmeetsingh@gmail.com>2015-10-10 14:42:30 +0530
committerChashmeet Singh <chashmeetsingh@gmail.com>2015-10-10 14:42:30 +0530
commit091356a8da5b7dfca13075bec5089d700a1d9782 (patch)
tree6521467a1ff76deae1a82dbb44961f8d23c856dc /haml.html.markdown
parentd8a1c0cf6a224d7b6e68f06afd444ba24bd75ede (diff)
Added table implementation in ruby
Diffstat (limited to 'haml.html.markdown')
-rw-r--r--haml.html.markdown19
1 files changed, 19 insertions, 0 deletions
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