alaska-field-image
Advanced tools
Comparing version 0.12.11 to 0.12.12
{ | ||
"name": "alaska-field-image", | ||
"version": "0.12.11", | ||
"version": "0.12.12", | ||
"description": "Alaska image field", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -181,20 +181,18 @@ // @flow | ||
if (field.horizontal === false) { | ||
let labelElement = label ? (<label className="control-label">{label}</label>) : null; | ||
if (field.horizontal) { | ||
return ( | ||
<div className={className}> | ||
{labelElement} | ||
<div>{items}</div> | ||
{helpElement} | ||
<label className="col-sm-2 control-label">{label}</label> | ||
<div className="col-sm-10"> | ||
{items} | ||
{helpElement} | ||
</div> | ||
</div> | ||
); | ||
} | ||
return ( | ||
<div className={className}> | ||
<label className="col-sm-2 control-label">{label}</label> | ||
<div className="col-sm-10"> | ||
{items} | ||
{helpElement} | ||
</div> | ||
{label ? (<label className="control-label">{label}</label>) : null} | ||
<div>{items}</div> | ||
{helpElement} | ||
</div> | ||
@@ -201,0 +199,0 @@ ); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12590
395