<?php 
$submit_url = $file_name."?page=view"; 
$show_all_page = "page=view";
?>
<!-- search form -->
<form class="form-horizontal" action="<?php echo $submit_url;?>" method="post" name="search_form" id="search_form">
	<div class="card-body">
		<div class="row">
		  <label for="Document Template" class="col-sm-2 control-label">Document Template</label>
		  <div class="col-sm-5">
			<input type="text" class="form-control" id="document_template" name="document_template" value="<?php echo $document_template;?>" placeholder="Document Template">
		  </div>
		  <div class="col-sm-5">
			<button type="submit" class="btn btn-success">Search</button>
			<button type="button" value="Show All" onclick="javascript:window.location='?<?php echo $show_all_page ?>'" class="btn btn-info">Show All</button>
		   </div>
		</div>
	</div>
</form>
<!-- /.search form -->
<script type="text/javascript">
$(document).ready(function() {
	$('.select2').select2();
});
</script>