ticket:5 prepare inputs on edit page