refactored views for comment new and comment edit