Getting issue in plugin integration

Hi,
We’re getting issue in integrating this plugin template with the foreman. We added plugin in /usr/share/foreman/plugins directory and added gem and it’s path in /usr/share/foreman/bundler.d/Gemfile.local.rb. We did bundle install, foreman-rake db:migrate and foreman-rake db:seed

Also we did gem build in plugin directory and gem install plugin_name-0.0.1.gem
plugin template sub-menu is showing in menu item in foreman bt getting no result when we click on welcome page. Also when i click on new action it shows The page you were looking for doesn’t exist. also i’m getting UI issues in foreman.

I’m attaching screenshots for reference.
plugin_template_url : GitHub - theforeman/foreman_plugin_template: Template for creating new plugins

Hi, what kind of development environment are you running?
You can follow these tutorials [0][1], which will help you with writing a new plugin.

[0] foreman/developer_docs/foreman_dev_setup.asciidoc at develop · theforeman/foreman · GitHub
[1] foreman/developer_docs/how_to_create_a_plugin.asciidoc at develop · theforeman/foreman · GitHub