Fixed rendering of integer, money, etc. inputs

When I added the `<legend>` tag to the labels of nested forms (#46) I accidently broke the rendering of some other elements (money, integer, etc.). This pull request fixes that.

The reason it broke was because the view expected in these cases that the `type` variable didn't exist, so it could be set accordingly (`{{ set type = type|default('number') }}`).

To fix this I renamed the variable to `original_type`.