fix product#edit template bug
add validation