{"id":16660980,"url":"https://github.com/agrafix/elm-bootforms","last_synced_at":"2026-03-04T21:34:03.841Z","repository":{"id":57674752,"uuid":"43611065","full_name":"agrafix/elm-bootforms","owner":"agrafix","description":"Quickly create forms using bootstrap and elm","archived":false,"fork":false,"pushed_at":"2016-04-03T21:14:09.000Z","size":34,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T10:43:47.738Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agrafix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-03T19:08:23.000Z","updated_at":"2018-06-26T12:26:44.000Z","dependencies_parsed_at":"2022-09-15T21:30:13.338Z","dependency_job_id":null,"html_url":"https://github.com/agrafix/elm-bootforms","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/agrafix/elm-bootforms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrafix%2Felm-bootforms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrafix%2Felm-bootforms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrafix%2Felm-bootforms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrafix%2Felm-bootforms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agrafix","download_url":"https://codeload.github.com/agrafix/elm-bootforms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrafix%2Felm-bootforms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30093970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T20:42:30.420Z","status":"ssl_error","status_checked_at":"2026-03-04T20:42:30.057Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T10:32:48.897Z","updated_at":"2026-03-04T21:34:03.821Z","avatar_url":"https://github.com/agrafix.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elm-bootforms\n\nThis package tries to provide a very simple and powerful interface to HTML(5) forms powered by [bootstrap](http://getbootstrap.com/). It uses [evancz/elm-html](http://package.elm-lang.org/packages/evancz/elm-html/latest/) as HTML rendering backend.\n\n## Docs\n\nSee [agrafix/elm-bootforms](http://package.elm-lang.org/packages/agrafix/elm-bootforms/latest/) on the central elm package repo.\n\n## Example\n\n```elm\nimport Date\nimport Html.Form.Input as I\n\ntype alias Model =\n    { date: I.FormValue String Date.Date\n    , name: I.FormValue String String\n    }\n\ntype Action\n    = Nop\n    | SetDate (I.FormValueAction String Date.Date)\n    | SetName (I.FormValueAction String String)\n\ninit : (Model, Effects Action)\ninit =\n    (\n        { date = { userInput = \"\", value = Err \"no date\", focused = False }\n        , name = I.stringFormVal \"\"\n        }\n    , Effects.none\n    )\n\nnoFx : Model -\u003e (Model, Effects Action)\nnoFx m = (m, Effects.none)\n\nupdate : Action -\u003e Model -\u003e (Model, Effects Action)\nupdate a m =\n    case a of\n        Nop -\u003e noFx m\n        SetDate f -\u003e ({ m | date = I.apply f m.date }, I.mappedEffect SetDate f)\n        SetName f -\u003e ({ m | name = I.apply f m.name }, I.mappedEffect SetName f)\n\nview : Signal.Address Action -\u003e Model -\u003e H.Html\nview addr =\n    H.lazy \u003c| \\m -\u003e\n    H.div []\n    [ H.h2 [] [ text \"My super form\" ]\n    , I.dateInput\n        { id = \"some-date\"\n        , label = \"Date\"\n        , helpBlock = Just \"Example: 04.02.2015\"\n        , value = m.date\n        , onValue = Signal.message addr \u003c\u003c SetDate\n        }\n    , I.textInput\n      { id = \"some-name\"\n      , label = \"The name\"\n      , helpBlock = Just \"Example: 14:35\"\n      , value = m.name\n      , onValue = Signal.message addr \u003c\u003c SetDeparture\n      }\n    }\n```\n\n## Install\n\nInstall using [elm-package](https://github.com/elm-lang/elm-package).\n\n# Roadmap\n\n* Support generating complete forms with error handling\n* ...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagrafix%2Felm-bootforms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagrafix%2Felm-bootforms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagrafix%2Felm-bootforms/lists"}