aboutsummaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-12-24 08:03:03 +0000
committerAkshay <[email protected]>2020-12-24 08:03:03 +0000
commite3c0393c2b28a44c9b2069067e0fb15a9820a3ee (patch)
treee68493fc3d6cde31f8f67f19ece49ae549669ac1 /frontend/src
parentbe8495fad408afaf087fa3c8eca1237af4ae8b20 (diff)
oopsie
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/Signup.elm16
1 files changed, 10 insertions, 6 deletions
diff --git a/frontend/src/Signup.elm b/frontend/src/Signup.elm
index 6395b57..30794e7 100644
--- a/frontend/src/Signup.elm
+++ b/frontend/src/Signup.elm
@@ -184,11 +184,15 @@ viewInput t p v toMsg =
184view : Model -> Html Msg 184view : Model -> Html Msg
185view model = 185view model =
186 div [] 186 div []
187 [ viewInput "text" "Enter Username" model.username UserEntered 187 [ div [] [ viewInput "text" "Enter Username" model.username UserEntered ]
188 , viewInput "password" "Password" model.password PassEntered 188 , div [] [ viewInput "password" "Password" model.password PassEntered ]
189 , viewInput "text" "Email" model.emailId EmailEntered 189 , div [] [ viewInput "text" "Email" model.emailId EmailEntered ]
190 , viewInput "text" "Enter your Phone number" model.phoneNumber PhoneEntered 190 , div [] [ viewInput "text" "Enter your Phone number" model.phoneNumber PhoneEntered ]
191 , viewInput "text" "Enter Shipping address" (Maybe.withDefault "" model.address) AddressEntered 191 , div [] [ viewInput "text" "Enter Shipping address" (Maybe.withDefault "" model.address) AddressEntered ]
192 , button [ onClick CreatePressed ] [ text "Create" ] 192 , div [] [ button [ onClick CreatePressed ] [ text "Create" ] ]
193 , div []
194 [ text "Already have a account? "
195 , a [ href "/login" ] [ text "Login >" ]
196 ]
193 , text (viewStatus model.status) 197 , text (viewStatus model.status)
194 ] 198 ]