add grid to base.html