equal
deleted
inserted
replaced
1 import React, { Component } from 'react'; |
1 import React, { Component } from 'react'; |
2 import { connect } from 'react-redux'; |
2 import { connect } from 'react-redux'; |
3 import { bindActionCreators } from 'redux'; |
3 import { bindActionCreators } from 'redux'; |
4 import { Panel, FormGroup, ControlLabel, FormControl, Button, InputGroup, HelpBlock } from 'react-bootstrap'; |
4 import { Panel, FormGroup, ControlLabel, FormControl, Button, InputGroup, HelpBlock, Glyphicon } from 'react-bootstrap'; |
5 import '../App.css'; |
5 import '../App.css'; |
6 import * as sessionsActions from '../actions/sessionsActions'; |
6 import * as sessionsActions from '../actions/sessionsActions'; |
7 import * as authActions from '../actions/authActions'; |
7 import * as authActions from '../actions/authActions'; |
8 import _ from 'lodash'; |
8 import _ from 'lodash'; |
9 |
9 |
81 ) |
81 ) |
82 } |
82 } |
83 |
83 |
84 return ( |
84 return ( |
85 <FormGroup> |
85 <FormGroup> |
86 <Button onClick={ this.toggleCreateGroup }>Create a group</Button> |
86 <Button className="pull-right" bsSize="small" onClick={ this.toggleCreateGroup }> |
|
87 <Glyphicon glyph="plus" /> Create a new group |
|
88 </Button> |
87 </FormGroup> |
89 </FormGroup> |
88 ) |
90 ) |
89 } |
91 } |
90 |
92 |
91 render() { |
93 render() { |