1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/public/js/components/strategy/CreateStrategy.jsx
2014-11-01 15:53:22 +01:00

33 lines
1.3 KiB
JavaScript

var React = require('react');
var CreateStrategy = React.createClass({
render: function() {
return (
<div className="line pam mhl bg-blue-xlt">
<div className="unit r-size1of2">
<form>
<fieldset>
<legend>New strategy</legend>
<div className="formelement">
<label for="strategy_name" className="t4">Name</label>
<div class="input">
<input id="trategy_name" type="text" name="name" />
</div>
</div>
<div className="formelement">
<a href="#add">+ Add required parameter</a>
</div>
<div className="actions">
<input type="submit" value="Save" className="primary mrs" />
<button onClick={this.props.handleCancelNewStrategy}>Cancel</button>
</div>
</fieldset>
</form>
</div>
</div>
);
}
});
module.exports = CreateStrategy;