Added name attr to all input fields. Adjusted validators a little.

Now the programmatic form validates as it should. However, the
declarative form doesn't do any validation. Not sure why. It looks
pretty much as the example here:
http://bootstrapvalidator.com/getting-started/#example-declarative-tab