#if($caneditdata) Edit #else View #end