JasnyフォークでBootstrapを使用しています。ユーザーが画像をアップロードできるフォームに取り組んでいます。ユーザーが実際に画像を選択するまで、フォームの送信ボタンを非表示にしたい。理想的には、ユーザーがフォームからファイルを削除すると、送信ボタンも消えるはずです。このフォークを実際に使ったのはこれが初めてです。どうすればいいですか?
<div class="fileupload fileupload-new" data-provides="fileupload">
<div class="fileupload-new thumbnail" style="width: 114px; height: 64px;"><img src="http://www.placehold.it/114x64/EFEFEF/AAAAAA" /></div>
<div class="fileupload-preview fileupload-exists thumbnail" style="width: 114px; height: 64px;"></div>
<span class="btn btn-file"><span class="fileupload-new">Select image</span><span class="fileupload-exists">Change</span><input type="file" /></span>
<a href="#" class="btn fileupload-exists" data-dismiss="fileupload">Remove</a>
<button type="submit" class="btn btn-primary">Upload</button>
</div>