ui view transfer to erb template successful