styling added to resource and form