<div class="cabinet-block">
    <div class="cabinet-block__header">
      <div class="cabinet-block__items">
        <div class="cabinet-block__name"><span class="masha_index masha_index12" rel="12"></span>Gift-Коды</div>
        <div class="cabinet-block__pos">
          <div class="cabinet-block__small-button cabinet-block__giftCodes" onclick="view_gifts( 'list' )" data-toggle="tooltip" data-placement="left" data-original-title="Мои коды"><i class="fas fa-list-ul"></i></div>
          <div class="cabinet-block__small-button cabinet-block__giftHistory" onclick="view_gifts( 'ghistore' )" data-toggle="tooltip" data-placement="left" title="" data-original-title="История активации"><i class="fas fa-history"></i></div>
          <div class="cabinet-block__small-button cabinet-block__small-button-right cabinet-block__giftCreate" onclick="view_gifts( 'create' )" data-toggle="tooltip" data-placement="left" data-original-title="Создать Gift-Код"><i class="fas fa-plus"></i></div>
        </div>
      </div>
    </div>
    <div class="cabinet-block__body">
      <div class="cabinet-content__gifts">
		<form id="activate_code" >
			<div class="container-fluid">
				<div class="row">
					<div class="col-xl-7 col-md-12 mb-3">
						<input type="text" class="cabinet-inputs w-100" name="cabinet_code" id="cabinet_code" placeholder="XXXX-XXXX-XXXX-XXXX" required="">
					</div>
					<div class="col-xl-5 col-md-12 mb-3">
						<button class="cabinet-button w-100" type="button" onclick="activate_gift($('#cabinet_code').val())">Активировать</button>
					</div>
				</div>
			</div>
        </form>
      </div>
    </div>
  </div>