Fix display required attribute

Set attribute label as required if present in rules of model
Merge pull request #2 from gplaza/patch-2

Fix display required attribute