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

edited /pages/index.html.erb

parent 47c07067
class CarLogsController < ApplicationController class CarLogsController < ApplicationController
def index def index
@car_logs = Carlog.all @car_logs = CarLog.all
render "/car_log/index.html.erb" render "/car_logs/index.html.erb"
end end
def add def add
......
...@@ -11,14 +11,14 @@ ...@@ -11,14 +11,14 @@
<hr> <hr>
<label>Color:</label> <label>Color:</label>
<select name= "color"> <select name= "color">
<option value = "red">Red</option> <option value = "Red">Red</option>
<option value = "white">White</option> <option value = "White">White</option>
<option value = "blue">Blue</option> <option value = "Blue">Blue</option>
<option value = "green">Green</option> <option value = "Green">Green</option>
<option value = "orange">Orange</option> <option value = "Orange">Orange</option>
<option value = "pink">Pink</option> <option value = "Pink">Pink</option>
<option value = "black">Black</option> <option value = "Black">Black</option>
<option value = "others">Others</option> <option value = "Others">Others</option>
</select> </select>
<hr> <hr>
<label>Brand:</label> <label>Brand:</label>
......
...@@ -45,6 +45,6 @@ ...@@ -45,6 +45,6 @@
</tbody> </tbody>
</table> </table>
<hr> <hr>
<a href= "/car_logs/add">Add New Sport</a> <a href= "/car_logs/add">Add New Car</a>
<hr> <hr>
<a href= "/">Go back to Homepage</a> <a href= "/">Go back to Homepage</a>
\ No newline at end of file
<h1>Moshi Moshi Parking</h1> <h1>Moshi Moshi Parking</h1>
<a href="/car_log">Check out your Cars!</a> <a href="/car_logs">Check out your Cars!</a>
\ No newline at end of file \ 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