JSFiddle - React, Tailwind, and code Playground
HTML
<form class="superContent">
<label>Name</label>
<input type="text" />
<input type="submit" class="occultable" value="send"/>
</form>
<button id="hideAll">Edit</button>
CSS
.superContent{/*...*/}
.superContent.noEdit .occultable{
display:none;
}
JavaScript
$("#hideAll").click(function(){
$(".occultable").toggle();
});