Fixed Table and added the hover feature to the table.

parent 07d92281
<table>
<table class="table table-hover">
<thead>
<tr>
<th>Plate Number</th>
<th></th>
<th></th>
<th></th>
<th>Time In</th>
<th></th>
<th></th>
<th></th>
<th>Time Out</th>
<th></th>
<th></th>
<th></th>
<th>Color</th>
<th></th>
<th></th>
<th></th>
<th>Brand</th>
</tr>
</thead>
......@@ -24,25 +16,15 @@
<% @car_logs.each do |car| %>
<tr>
<td><%= car.plate_number %></td>
<td></td>
<td></td>
<td></td>
<td><%= car.time_in %></td>
<td></td>
<td></td>
<td></td>
<td><%= car.time_out %></td>
<td></td>
<td></td>
<td></td>
<td><%= car.color %></td>
<td></td>
<td></td>
<td></td>
<td><%= car.brand %></td>
<td></td>
<td></td>
<td></td>
<td><%= button_to "Remove Car", { id: car.id },
method: :delete, data: { confirm: "Are you sure?" } %></td>
</tr>
......
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