obdev/app/views/vendors/new.html.erb

14 lines
353 B
Plaintext

<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<h1 class="mb-4 text-center">New Vendor</h1>
<%= render 'form', vendor: @vendor %>
<div class="mt-3 text-center">
<%= link_to 'Back to List', vendors_path, class: "btn btn-secondary" %>
</div>
</div>
</div>
</div>