• code
    H.button
          ! A.class_ "btn btn-primary centered"
          ! A.id "test-btn"
          ! E.onClick (Action "test-btn" TestAction)
          ! A.type_ "submit" $ "Тест"

Replies (3)