Update show.html.erb

This commit is contained in:
2016-08-04 09:44:09 -04:00
committed by GitHub
parent dd335aff71
commit 0e9b5fa17a

View File

@@ -4,10 +4,7 @@
<br/>
<%= render :partial => 'vehicles/list' %>
<br/>
<%= form_tag(new_vehicle_path, :method => "get", id: "new") do %>
<%= hidden_field :customer, @customer.id if @customer %>
<%= submit_tag "New Vehicle" %>
<% end %>
<%= button_to "New Customer", [:new, @cutomer, Vehicle.new], method: :get %>
<br/>
<br/>
<%= render :partial => 'issues/list_simple', locals: {issues: @issues} %>