add htmlaction
edit action and view