File tree Expand file tree Collapse file tree 1 file changed +7
-17
lines changed
source/_patterns/02-components/table Expand file tree Collapse file tree 1 file changed +7
-17
lines changed Original file line number Diff line number Diff line change 16
16
</tr >
17
17
</thead >
18
18
<tbody {{ #if align }} data-align =" {{ align }} " {{ /if }} {{ #if vertical-align }} data-vertical-align =" {{ vertical-align }} " {{ /if }} >
19
- {{! TODO: Not elegant, but working for the moment… }}
20
- {{ #if rowtitle }}
21
- {{ #each cells }}
22
- <tr >
23
- <th scope =" row" >table header</th >
24
- <td {{ #if @first }}{{ #if ../icon }} data-icon =" {{ ../icon }} " {{ /if }}{{ /if }} >{{{ text01 }}} </td >
25
- <td >{{{ text02 }}} </td >
26
- </tr >
27
- {{ /each }}
28
- {{ else }}
29
- {{ #each cells }}
30
- <tr >
31
- <td {{ #if @first }}{{ #if ../icon }} data-icon =" {{ ../icon }} " {{ /if }}{{ /if }} >{{{ text01 }}} </td >
32
- <td >{{{ text02 }}} </td >
33
- </tr >
34
- {{ /each }}
35
- {{ /if }}
19
+ {{ #each cells }}
20
+ <tr >
21
+ {{ #if ../rowtitle }} <th scope =" row" >table header</th >{{ /if }}
22
+ <td {{ #if @first }}{{ #if ../icon }} data-icon =" {{ ../icon }} " {{ /if }}{{ /if }} >{{{ text01 }}} </td >
23
+ <td >{{{ text02 }}} </td >
24
+ </tr >
25
+ {{ /each }}
36
26
</tbody >
37
27
</table >
You can’t perform that action at this time.
0 commit comments