Refactoring _navigator.html.erb page