Permalink
Switch branches/tags
Nothing to show
Find file Copy path
a64638a Jan 8, 2015
1 contributor

Users who have contributed to this file

28 lines (26 sloc) 861 Bytes
/**
* @jsx React.DOM
*/
var React = require('react')
var Confirmation = React.createClass({
render: function() {
return (
<div>
<h2>Confirm Registration</h2>
<ul>
<li><b>Name:</b> {this.props.fieldValues.name}</li>
<li><b>Email:</b> {this.props.fieldValues.email}</li>
<li><b>Age:</b> {this.props.fieldValues.age}</li>
<li><b>Colors:</b> {this.props.fieldValues.colors.join(', ')}</li>
</ul>
<ul className="form-fields">
<li className="form-footer">
<button className="btn -default pull-left" onClick={this.props.previousStep}>Back</button>
<button className="btn -primary pull-right" onClick={this.props.submitRegistration}>Submit Registration</button>
</li>
</ul>
</div>
)
}
})
module.exports = Confirmation