CLI generation of admin component
* Fix bug in edit page template
* Fix PSR-2 violation in index page template