Refactor error_messages into shared partials, using object where possible