ticket:5 add edit form template; update main tpl