Commit 1b51e303 authored by Wills Gomez's avatar Wills Gomez

updated table

parent 4b441d39
......@@ -11,14 +11,14 @@
<label>Color:</label>
<select name="color" class="u-full-width">
<option value="" disabled="disabled" selected="selected">Select..</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>
<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="Other Color">Other Color</option>
</select>
<label>Brand:</label>
<select name="brand" class="u-full-width">
......
......@@ -9,18 +9,18 @@
<hr>
<table cellpadding="50">
<thead>
<th> ID </th>
<th> Plate Number </th>
<th> Time In </th>
<th> Time Out </th>
<th> Color </th>
<th> Brand </th>
</thead>
<tr>
<th> ID </th>
<th> Plate Number </th>
<th> Time In </th>
<th> Time Out </th>
<th> Color </th>
<th> Brand </th>
</tr>
<% @records.each do |record| %>
<% @records.each do |record| %>
<tr>
<td><%= record.id %></td>
<td><%= record.id %></td>
<td><%= record.plate_number %></td>
<td><%= record.time_in %></td>
<td><%= record.time_out %></td>
......@@ -28,8 +28,8 @@
<td><%= record.brand %></td>
</tr>
<% end %>
</table>
</center>
<hr>
<a href="/create_new">Add New Record</a>
......
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