Update _list.html.erb

This commit is contained in:
2016-08-01 20:29:58 -04:00
committed by GitHub
parent 0c5c778c75
commit 7fb91ae10b

View File

@@ -3,7 +3,7 @@
<% @vehicles.each do |vehicle| %>
<div class="row">
<div>
<%= button_to "##{vehicle.id}, vehicle_path(vehicle) %>
<%= button_to "##{vehicle.id}", vehicle_path(vehicle) %>
</div>
<div>
<%= vehicle.to_s %>
@@ -19,7 +19,6 @@
<div class="actions">
<%= will_paginate @vehicles %>
<%= button_to "New Vehicle", new_vehicle_path, method: :get %>
</div>
<% else %>