You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
401 B

<form action="<%= products_path %>" method="POST">
<input type="hidden" name="authenticity_token" value="<%= form_authenticity_token %>">
<input
type="text"
name="product[name]"
placeholder="Product Name"
value=""><br/>
<input
type="text"
name="product[description]"
placeholder="Product Description"
value=""><br/>
<input type="submit" value="Submit">
</form>