Added images to vehicles
This commit is contained in:
@@ -9,6 +9,13 @@
|
||||
</ul>
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="my-5">
|
||||
<%= form.label :images %>
|
||||
<% vehicle.images.each do |image| %>
|
||||
<%= form.hidden_field :images, multiple: true, value: image.signed_id %>
|
||||
<% end %>
|
||||
<%= form.file_field :images, multiple: true, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
|
||||
</div>
|
||||
<div class="my-5">
|
||||
<%= form.label :license_plate %>
|
||||
<%= form.text_field :license_plate, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
|
||||
|
||||
Reference in New Issue
Block a user