mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update _list.html.erb
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
<% if @vehicles.present? %>
|
<% if @vehicles.present? %>
|
||||||
|
|
||||||
<% @vehicles.each do |vehicle| %>
|
<% @vehicles.each do |vehicle| %>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div>
|
<div>
|
||||||
<%= button_to "##{vehicle.id}, vehicle_path(vehicle) %>
|
<%= button_to "##{vehicle.id}", vehicle_path(vehicle) %>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<%= vehicle.to_s %>
|
<%= vehicle.to_s %>
|
||||||
@@ -13,14 +13,13 @@
|
|||||||
<%= vehicle.vin %>
|
<%= vehicle.vin %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<%= will_paginate @vehicles %>
|
<%= will_paginate @vehicles %>
|
||||||
<%= button_to "New Vehicle", new_vehicle_path, method: :get %>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<% else %>
|
<% else %>
|
||||||
<p>There are no vehicles containing the term(s) <%= params[:search] %>.</p>
|
<p>There are no vehicles containing the term(s) <%= params[:search] %>.</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user