Inlined send function in views