Test and fix input missing from inputs :for block.
Merge pull request #3555 from varyonic/3548_inputs_for_renders_only_last_input

Test and fix input missing from inputs :for block.