summaryrefslogtreecommitdiffhomepage
path: root/haml.html.markdown
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2015-10-12 23:07:44 -0500
committerLevi Bostian <levi.bostian@gmail.com>2015-10-12 23:07:44 -0500
commited8a57041ff528c070eae831aa614be3b4789a04 (patch)
tree40877afbc62bc09ad9d25019eabc2c53eb668261 /haml.html.markdown
parent438a57a72cd6ddb0290616dee05ecdc9a52f5a43 (diff)
parent091356a8da5b7dfca13075bec5089d700a1d9782 (diff)
Merge pull request #1438 from chashmeetsingh/patch-8
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 dbc0a439..0948e9ef 100644
--- a/haml.html.markdown
+++ b/haml.html.markdown
@@ -133,6 +133,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