What is the convention for using a partial to list an item, vs the partial show show / edit / new
For instance on an overview one would want to do:
[ app/parts/ ]
(parts/index.html.erb)
<h1> Parts and stuff! </h1>
<table>
# headers and such
<%= render :partial => @parts %>
</table>
# calls _part to make a list, usually the 3 most important things
Then we have something like
[ app/parts/new ]
(parts/new.html.erb)
# what is the convention for the partial here?
# Said partial would be used for new / edit
I know you can specify render :partial => “path/to/partial”, but I was hoping for a resource based route to want a partial by some conventional name.
Usually _form_part or _part depending on context.