Commit 706635f2 authored by Bianca Tarun's avatar Bianca Tarun

edited /pages/index.html.erb

parent 47c07067
class CarLogsController < ApplicationController
def index
@car_logs = Carlog.all
render "/car_log/index.html.erb"
@car_logs = CarLog.all
render "/car_logs/index.html.erb"
end
def add
......
......@@ -11,14 +11,14 @@
<hr>
<label>Color:</label>
<select name= "color">
<option value = "red">Red</option>
<option value = "white">White</option>
<option value = "blue">Blue</option>
<option value = "green">Green</option>
<option value = "orange">Orange</option>
<option value = "pink">Pink</option>
<option value = "black">Black</option>
<option value = "others">Others</option>
<option value = "Red">Red</option>
<option value = "White">White</option>
<option value = "Blue">Blue</option>
<option value = "Green">Green</option>
<option value = "Orange">Orange</option>
<option value = "Pink">Pink</option>
<option value = "Black">Black</option>
<option value = "Others">Others</option>
</select>
<hr>
<label>Brand:</label>
......
......@@ -45,6 +45,6 @@
</tbody>
</table>
<hr>
<a href= "/car_logs/add">Add New Sport</a>
<a href= "/car_logs/add">Add New Car</a>
<hr>
<a href= "/">Go back to Homepage</a>
\ No newline at end of file
<h1>Moshi Moshi Parking</h1>
<a href="/car_log">Check out your Cars!</a>
\ No newline at end of file
<a href="/car_logs">Check out your Cars!</a>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment