rename examples so they copmile

This commit is contained in:
mdgriffith 2020-05-22 21:32:22 -04:00
parent a37f0bfe65
commit 0d96173d31
3 changed files with 14 additions and 6 deletions

View File

@ -1,4 +1,4 @@
module Main exposing (..)
module Basic exposing (..)
{-| -}

View File

@ -1,4 +1,4 @@
module Main exposing (..)
module Form exposing (..)
{-| -}
@ -80,7 +80,14 @@ view model =
[ Font.size 20
]
<|
Element.column [ width (px 800), height shrink, centerY, centerX, spacing 36, padding 10, explain Debug.todo ]
Element.column
[ width (px 800)
, height shrink
, centerY
, centerX
, spacing 36
, padding 10
]
[ el
[ Region.heading 1
, alignLeft
@ -117,7 +124,7 @@ view model =
, onChange = \new -> Update { model | username = new }
, label = Input.labelAbove [ Font.size 14 ] (text "Username")
}
, Input.currentPassword [ spacing 12, width shrink ]
, Input.currentPassword [ spacing 12 ]
{ text = model.password
, placeholder = Nothing
, onChange = \new -> Update { model | password = new }
@ -193,7 +200,8 @@ view model =
, Border.color darkBlue
, paddingXY 32 16
, Border.rounded 3
, width fill
-- , width fill
]
{ onPress = Nothing
, label = Element.text "Place your lunch order!"

View File

@ -1,4 +1,4 @@
module Main exposing (..)
module Table exposing (..)
{-| -}