<form action="" method="post">

	<div class="ulp-stuffbox">

		<h3 class="ulp-h3"><?php _e('Grade Book', 'ulp');?></h3>

		<div class="inside">

		<div class="ulp-inside-item">

              <div class="row">

               <div class="col-xs-6">

			<div class="ulp-form-line">

					<h2><?php _e('Activate Grade Book', 'ulp');?></h2>

				<label class="ulp_label_shiwtch" style="margin:10px 0 10px -10px;">

					<?php $checked = ($data['metas']['ulp_gradebook_enable']) ? 'checked' : '';?>

					<input type="checkbox" class="ulp-switch" onClick="UltimateLearningPro.checkAndH(this, '#ulp_gradebook_enable');" <?php echo $checked;?> />

					<div class="switch" style="display:inline-block;"></div>

				</label>

				<input type="hidden" name="ulp_gradebook_enable" value="<?php echo $data['metas']['ulp_gradebook_enable'];?>" id="ulp_gradebook_enable" />

			</div>



			<div>

            	<h4><?php _e('How it works', 'ulp');?></h4>

				<div><?php _e('If you enable this feature, your students will have permission to see their grades.', 'ulp');?></div>

				<div><?php _e('To display the gradebook use this shortcode ', 'ulp');?><strong>[ulp-gradebook]</strong>.</div>

			</div>



			<div class="ulp-submit-form" style="margin-top: 30px;">

				<input type="submit" value="<?php _e('Save Changes', 'ulp');?>" name="submit" class="btn btn-primary pointer" />

			</div>

		 </div>

       </div>

      </div>

		</div>

	</div>



</form>

