Fixed Table and added the hover feature to the table.

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