add all views to manage ContentVariable tables
only accept save and edit with json request + fix bug in model