Refactor module form twig file

* Refactor model form Twig file remove code & call new
  Twig files and added function