File tree Expand file tree Collapse file tree 2 files changed +13
-21
lines changed Expand file tree Collapse file tree 2 files changed +13
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- import React , { Component , PropTypes } from 'react' ;
2- import Header from '../common/Header' ;
1+ import React , { Component , PropTypes } from 'react' ;
32import BaseGroup from './BaseGroup' ;
43
54class Group extends BaseGroup {
@@ -12,14 +11,24 @@ class Group extends BaseGroup {
1211
1312 render ( ) {
1413
15- let { layout } = this . props ;
14+ let { layout} = this . props ;
1615 let content = this . getContent ( ) ;
1716
17+ // Group header
18+ let header = layout . title
19+ ? (
20+ < header className = "metaform-group-header" >
21+ < span className = "metaform-group-title" >
22+ { layout . title }
23+ </ span >
24+ </ header >
25+ ) : null ;
26+
1827 return (
1928 < section >
2029 < div className = 'row' >
2130 < div className = "metaform-group" >
22- < Header title = { layout . title } />
31+ { header }
2332 < div className = "metaform-group-content" >
2433 { content }
2534 </ div >
You can’t perform that action at this time.
0 commit comments