[Fixed] submit function

btn-danger and btn-warning couldn't be used