add edit shirt function, split new and view to two pages