CakePHP templates for Bootstrap compatible view index edit generation

uses javascript for modal. There would be some errors. Please check