For the following code with little different, I have some macros for defining different kind of buttons
{# normal button #} {% macro btn() %}