<form>
<input type="hidden" id="id" value="${post.id}" />
<button id="btn-reply" class="btn btn-secondary">덧글등록</button>
</form>
<form>
<input type="hidden" id="id" value="${post.id}" />
<button type="button" id="btn-reply" class="btn btn-secondary">덧글등록</button>
<!--변경부분-->
</form>
<form>
<input type="hidden" id="id" value="${post.id}" />
</form>
<button id="btn-reply" class="btn btn-secondary">덧글등록</button>
<!--변경부분-->
Reference: