| 
									
										
										
										
											2021-02-13 06:27:08 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | <div class="container" id="create_contest"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <br> | 
					
						
							|  |  |  | 	<?php if($this->session->flashdata('message')) { ?>
 | 
					
						
							|  |  |  | 		<!-- Display Message --> | 
					
						
							|  |  |  | 		<div class="alert-message error"> | 
					
						
							|  |  |  | 		  <p><?php echo $this->session->flashdata('message'); ?></p>
 | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 	<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<?php if($this->session->flashdata('notice')) { ?>
 | 
					
						
							|  |  |  | 			<div id="message" > | 
					
						
							|  |  |  | 			<?php echo $this->session->flashdata('notice'); ?>
 | 
					
						
							|  |  |  | 			</div> | 
					
						
							|  |  |  | 		<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<?php $this->load->helper('form'); ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<?php echo validation_errors(); ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-07 02:24:14 +08:00
										 |  |  | 		<form> | 
					
						
							| 
									
										
										
										
											2021-02-13 06:27:08 +08:00
										 |  |  | 		<div class="form-group"> | 
					
						
							|  |  |  | 		    <label for="contestInput">Contest Name</label> | 
					
						
							|  |  |  | 		    <input type="text" class="form-control" name="contestname" id="contestInput" aria-describedby="contestInputHelp" required> | 
					
						
							|  |  |  | 		    <small id="contestInputHelp" class="form-text text-muted">Name of Contest</small> | 
					
						
							|  |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		  <div class="form-group"> | 
					
						
							|  |  |  | 		    <label for="adifcontestInput">Contest ADIF Name</label> | 
					
						
							|  |  |  | 		    <input type="text" class="form-control" name="adifcontestname" id="adifcontestInput" aria-describedby="adifcontestInputHelp"> | 
					
						
							|  |  |  | 		    <small id="adifcontestInputHelp" class="form-text text-muted">Name of Contest in ADIF-specification</small> | 
					
						
							|  |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-07 02:24:14 +08:00
										 |  |  | 			<button type="button" onclick="createContest(this.form);" class="btn btn-primary btn-sm"><i class="fas fa-plus-square"></i> Create Contest</button> | 
					
						
							| 
									
										
										
										
											2021-02-13 06:27:08 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		</form> | 
					
						
							|  |  |  | </div> |