Last active
August 1, 2016 17:39
-
-
Save codeithuman/c2c33471debbc333fb757c2cbac0ce84 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
view : Model -> Html Msg | |
view model = | |
div [ class "contact-form" ] | |
[ div [ class "alert alert-danger" ] [] | |
, div [ class "field-row" ] | |
[ div [ class "field" ] | |
[ input [ type' "text", class "form-required", id "contact_name", maxlength 70, name "contact[name]", placeholder "Name*" ] [] ] | |
] | |
, div [ class "field-row" ] | |
[ div [ class "field" ] | |
[ input [ type' "text", class "form-required", id "contact_name", maxlength 70, name "contact[email]", placeholder "Email*" ] [] ] | |
] | |
, div [ class "field-row" ] | |
[ div [ class "field" ] | |
[ textarea [ id "contact_message", name "contact[message]", placeholder "Tell us a little about your project" ] [] ] | |
] | |
, div [ class "field-row" ] | |
[ div [ class "submit-field" ] | |
[ button [ type' "submit", class "button call-to-action" ] | |
[ text "Submit →" ] | |
] | |
] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment