<form id="activate_code">
	<div class="form-group mb-1">
		<label for="cabinet_code">Введите код</label>
		<input type="text" class="form-control" name="cabinet_code" id="cabinet_code" placeholder="Подарочный код" required="">
	</div>
	<div class="form-group mt-3">
		<button class="cabinet-button" type="button" onclick="activate_gift($('#cabinet_code').val())">Активировать код</button>
	</div>
</form>