centered create page & changed create submit button

This commit is contained in:
Jack Wines 2023-06-10 21:09:06 -07:00
parent b8b7d8a198
commit 583506df02
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
body
{
display: flex;
flex-direction: column;
align-items: center;
}
#inputs, #options-create
{
display: flex;

View file

@ -108,7 +108,7 @@ createPage = pure $ do
optionInput
optionInput
with button_ [hxGet_ "create/newInput", hxTarget_ "this", hxSwap_ "beforebegin"] "add option"
input_ [type_ "submit", classes_ ["btn-small", "paper-btn", "btn-primary"]]
input_ [type_ "submit", classes_ ["paper-btn", "btn-primary"], value_ "submit"]
-- notFoundPage = pure $ ("this is the 404 page")