Passing to view the decision when use (or not) Ajax on CRUDs