converted form erb into rendered partials