super-graph/example/app/views/products/new.html.erb

6 lines
100 B
Plaintext

<h1>New Product</h1>
<%= render 'form', product: @product %>
<%= link_to 'Back', products_path %>