Added a input to select category in view