change submit in layout.py to pure-button