Creating template
Fix params[data]
Merge remote-tracking branch 'opensgift/master'
Fix sql error