change form::type to form::layout