mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 15:13:56 +00:00
Merge pull request #1438 from chashmeetsingh/patch-8
Added table implementation in ruby
This commit is contained in:
commit
ed8a57041f
@ -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.
|
Again, no need to add the closing tags to the block, even for the Ruby.
|
||||||
Indentation will take care of that for you.
|
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
|
/ Inline Ruby / Ruby interpolation
|
||||||
|
Loading…
Reference in New Issue
Block a user