I'd definitely move each step into it's own partial, and other partials for large swathes of code.