centered create page & changed create submit button
This commit is contained in:
parent
b8b7d8a198
commit
583506df02
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,10 @@
|
|||
body
|
||||
{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#inputs, #options-create
|
||||
{
|
||||
display: flex;
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue