Use hidden inputs in view