separated input element out into template