Pass id and name attributes to input field
Pass required attribute to input field
Remove 'datepicker' class from not inline parent
Merge pull request #1 from balek/patch-1

Patch 1