rename views and validate on edit post form