edit view Action for main page