Reviewed-on: https://git.reya.su/reya/coop/pulls/33
* refactor the input component * fix clippy * clean up