To replace the element with jquery
elem = $('#edit-profile-basic-field-ic-und-0-value');
elem.replaceWith(`
<div class="verified-input-wrapper <?php print $identity_verified ? 'v-true':'v-false'?>">
${elem[0].outerHTML}
<button class="btn btn-danger btn-verified v-false" data-toggle="modal" data-target="#edit-profile-basic-field-identity-documents-modal" onclick="event.preventDefault();">GET VERIFIED</button>
<button class="btn btn-success btn-verified v-true" data-toggle="modal" onclick="event.preventDefault();">VERIFIED</button>
</div>
`);