1 2 3 4
<%= render 'edit', resource: @resource %> <#%= render partial: 'edit', locals: { resource: @resource } %>