1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00

Fixed no legend on edit

This commit is contained in:
ivaosthu 2014-11-29 12:16:53 +01:00
parent 2256861333
commit 3b32c4cf29

View File

@ -23,14 +23,12 @@ var FeatureForm = React.createClass({
enabled: false
};
var title = this.props.feature ? "" : "Create new toggle";
return (
<div className="bg-lilac-xlt r-pam">
<form ref="form" className="r-size1of2">
<fieldset>
<legend>{title}</legend>
{this.props.feature ? "" : <legend>Create new toggle</legend>}
<TextInput
id="name"