<?php 

function manage_fee_description_cb() {
	global $post_meta;
	?>
	<div class="row">
		<div class="col-md-5">
			<div class="card card-primary">
				<div class="card-header">
					<h3 class="card-title">Add Fee</h3>
				</div>
				<div class="card-body">
					<form method="post" action="contents/plugins/school_fees_manager/ajax.php" id="add_fee_description_form" data-clearform=1 data-callback="sfm_get_fee_description" data-callbackid="#display">
						<?php  
							textarea(['label' => 'Description', 'id' => 'description', 'required' => 'required']);
							alert(); submit_btn('add_fee_description', 'Add');
						?>
					</form>
				</div>
			</div>
		</div>
		<div class="col-md-7">
			<div class="card card-primary">
				<div class="card-header">
					<h3 class="card-title">Fees</h3>
				</div>
				<div class="card-body">
					<div id="display"></div>
				</div>
			</div>
		</div>
	</div>

	<?php
	add_page_javascript('contents/plugins/school_fees_manager/js/js-functions.js');
	add_page_javascript('app/assets/js/page-scripts/submit.js');
}