add form layout
fix bug
Merge pull request #9 from strwind/master

add form layout