Refactor db call out of item#form view