changed form in layout.html