Refactored form into a partial, created edit view