fixed a few stuff but overall it's okay na!

parent 7ca50b4c
......@@ -8,12 +8,14 @@ class CarLogsController < ApplicationController
def add
render "car_logs/add_cars.html.erb"
end
def delete
id = params[:id]
@car = CarLog.find(id.to_i)
@car.destroy
redirect_to '/car_logs'
end
def create
car_log = CarLog.new
car_log.plate_number = params[:plate_number]
......
......@@ -35,7 +35,7 @@
</select>
<input type="submit" value="Save to Car Log" >
<%end%>
<a href="/pages" style="padding:3px; margin:10px; border:solid 1px;color: white">Park Lot Home</a>
<h2> </h2>
<a href="/pages" style="padding:3px; margin:10px; border:solid 1px;color: white; font-size: 14pt;">Park Lot Home</a>
</div>
</div>
\ No newline at end of file
<div>
<div style="height:100vh; width:100vw; background-size:cover; position:absolute;overflow:scroll; margin-bottom:10px">
<div style="padding:30px; text-align:center; border:solid 1px; background-color:rgba(20,20,20,0.9); color:rgba(255,255,255,0.8)">
<h1>Meet the Creators</h1>
<body>
<li>Miko</li>
<li>Chesco</li>
<li>Manny</li>
<li>Miko Estrella</li>
<li>Francesco Mamaradlo</li>
<li>Manny Samaniego III</li>
<h2> </h2>
<a href="/car_logs" style="padding:5px; margin:30px; border:solid 1px;font-size:12pt">Park Lot Home</a>
</body>
<a href="/car_logs/add" style="padding:5px; margin:20px; border:solid 1px;color: black">Park Lot Home</a>
</div>
</div>
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