mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	Fixed no legend on edit
This commit is contained in:
		
							parent
							
								
									2256861333
								
							
						
					
					
						commit
						3b32c4cf29
					
				@ -23,14 +23,12 @@ var FeatureForm = React.createClass({
 | 
				
			|||||||
          enabled: false
 | 
					          enabled: false
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        var title = this.props.feature ? "" : "Create new toggle";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        return (
 | 
					        return (
 | 
				
			||||||
            <div className="bg-lilac-xlt r-pam">
 | 
					            <div className="bg-lilac-xlt r-pam">
 | 
				
			||||||
                <form ref="form" className="r-size1of2">
 | 
					                <form ref="form" className="r-size1of2">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    <fieldset>
 | 
					                    <fieldset>
 | 
				
			||||||
                        <legend>{title}</legend>
 | 
					                        {this.props.feature ? "" : <legend>Create new toggle</legend>}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        <TextInput
 | 
					                        <TextInput
 | 
				
			||||||
                            id="name"
 | 
					                            id="name"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user