<div class="m-b-sm">
<?php
$setting_email = isset($_GET['email'])?$_GET['email']:'bug_assigned';
?>
		         
	<div class="btn-group">
		<a href="<?=base_url()?>settings/?settings=templates&group=bugs&email=bug_assigned" class="<?php if($setting_email == 'bug_assigned'){ echo "active"; } ?> btn btn-default">Bug Assigned</a>
		<a href="<?=base_url()?>settings/?settings=templates&group=bugs&email=bug_status" class="<?php if($setting_email == 'bug_status'){ echo "active"; } ?> btn btn-default">Bug Status</a>
		<a href="<?=base_url()?>settings/?settings=templates&group=bugs&email=bug_comment" class="<?php if($setting_email == 'bug_comment'){ echo "active"; } ?> btn btn-default">Bug Comment</a>
		<a href="<?=base_url()?>settings/?settings=templates&group=bugs&email=bug_file" class="<?php if($setting_email == 'bug_file'){ echo "active"; } ?> btn btn-default">Bug File</a>
		<a href="<?=base_url()?>settings/?settings=templates&group=bugs&email=bug_reported" class="<?php if($setting_email == 'bug_reported'){ echo "active"; } ?> btn btn-default">Bug Reported</a>
	</div>              
 </div>

		              <!-- Start Form -->
<?=$this->load->view('templates/bug/'.$setting_email);?>
				<!-- End Form -->

