View rendering using Layouts and Elements