view and form mixins