braincrafted/bootstrap-bundle — pull request #48 by egrajeda (2013-05-17 15:48:20+00:00)
Title: Fixed rendering of integer, money, etc. inputs

When I added the `
` 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`.