<div class="container-fluid">
	<div class="inner">
		<h1> New Car Record</h1> <br>

		<%= form_tag '/carlogs/create' do %> 
			Plate Number <br/>
			<input type= "text" name = "plate_number"><br><br>
			Brand 
			<select name = "brand">
				<option value = "Honda">Honda</option>
				<option value = "Toyota">Toyota</option>
				<option value = "Mitsubishi">Mitsubishi</option>
				<option value = "Hyundai">Hyundai</option>
				<option value = "Ford">Ford</option>
				<option value = "Audi">Audi</option>
				<option value = "Mazda">Mazda</option>
			</select> <br><br>

			Slot Number <br/>
			<input type= "text" name = "slot_number"><br><br>
			Is Taken ? 
			<input type="checkbox" name="is_taken"><br><br>



		<%= submit_tag "Submit", class: "btn btn-success"%>
		    
		<%= link_to 'View Records', carlogs_path, class: "btn btn-success"%>
		<%end%>
	</div>
</div>