/*global require, module*/
/** @jsx React.DOM */
var React = require('react');

var Toast = React.createClass({
    render : function () {
        "use strict";
        var output = null;

        if (this.props.error !== null) {
            output =  <div className="toast toast-show">
                <div className="tooltip bottom in" id="tooltip201389" style={{top: '-654px', left: '223.703125px', display: 'block', position: 'relative'}}>
                    <div className="toast-inner tooltip-inner">
                        <a data-dismiss="toast">Dismiss</a>
                        <div className="toast-text">{ this.props.error.message }</div>
                    </div>
                </div>
            </div>
        }

        return (
           output
        );
    }
});

module.exports = Toast;
/*global require, module*/
/** @jsx React.DOM */
var React = require('react'),
    easyGid = require("easy-guid");

var Toast = React.createClass({
    render : function () {
        "use strict";
        var output = null,
            identifier = easyGid.new();

        if (this.props.error !== null) {
            output =  <div className="toast toast-show">
                <div className="tooltip bottom in" id={identifier} style={{top: '-654px', left: '223.703125px', display: 'block', position: 'relative'}}>
                    <div className="toast-inner tooltip-inner">
                        <a data-dismiss="toast">Dismiss</a>
                        <div className="toast-text">{ this.props.error.message }</div>
                    </div>
                </div>
            </div>
        }

        return (
           output
        );
    }
});

module.exports = Toast;
Add dynamic identifier to toast
Add dynamic identifier to toast
