{"id":208,"name":null,"description":"A Rails form builder plugin with semantically rich and accessible markup.","url":"https://github.com/formtastic/formtastic","last_synced_at":"2026-04-30T22:00:28.304Z","repository":{"id":389916,"uuid":"7497","full_name":"formtastic/formtastic","owner":"formtastic","description":"A Rails form builder plugin with semantically rich and accessible markup.","archived":false,"fork":false,"pushed_at":"2026-02-28T05:30:10.000Z","size":4189,"stargazers_count":5205,"open_issues_count":5,"forks_count":624,"subscribers_count":67,"default_branch":"master","last_synced_at":"2026-04-28T12:42:21.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/formtastic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2008-04-07T11:18:11.000Z","updated_at":"2026-04-27T17:11:32.000Z","dependencies_parsed_at":"2026-02-22T01:04:03.970Z","dependency_job_id":null,"html_url":"https://github.com/formtastic/formtastic","commit_stats":{"total_commits":2253,"total_committers":241,"mean_commits":9.348547717842324,"dds":0.4895694629383045,"last_synced_commit":"473f5cef34de5ffe8812a3b0b07f167a22f8c4b9"},"previous_names":["justinfrench/formtastic"],"tags_count":85,"template":false,"template_full_name":null,"purl":"pkg:github/formtastic/formtastic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formtastic%2Fformtastic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formtastic%2Fformtastic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formtastic%2Fformtastic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formtastic%2Fformtastic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formtastic","download_url":"https://codeload.github.com/formtastic/formtastic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formtastic%2Fformtastic/sbom","scorecard":{"id":12974,"data":{"date":"2025-08-04","repo":{"name":"github.com/formtastic/formtastic","commit":"3ed00c52ab2472a02fe1f63a4327fde401c7472e"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":5.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Code-Review","score":4,"reason":"Found 5/12 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 17 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/integration.yaml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/formtastic/formtastic/integration.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/formtastic/formtastic/integration.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/formtastic/formtastic/integration.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/formtastic/formtastic/integration.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/formtastic/formtastic/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/formtastic/formtastic/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/formtastic/formtastic/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/formtastic/formtastic/test.yml/master?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: MIT-LICENSE:0","Info: FSF or OSI recognized license: MIT License: MIT-LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T15:01:57.482Z","repository_id":389916,"created_at":"2025-08-14T15:01:57.482Z","updated_at":"2025-08-14T15:01:57.482Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32399010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: 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"}},"owner":{"login":"formtastic","name":"Formtastic","uuid":"6845884","kind":"organization","description":"","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/6845884?v=4","repositories_count":2,"last_synced_at":"2024-03-25T21:51:52.565Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/formtastic","funding_links":[],"total_stars":5201,"followers":2,"following":0,"created_at":"2022-11-02T17:01:26.914Z","updated_at":"2024-03-25T21:51:53.411Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formtastic","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formtastic/repositories"},"packages":[{"id":13870364,"name":"github.com/formtastic/formtastic","ecosystem":"go","description":null,"homepage":null,"licenses":null,"normalized_licenses":[],"repository_url":"https://github.com/formtastic/formtastic","keywords_array":[],"namespace":null,"versions_count":1,"first_release_published_at":"2026-02-20T11:19:25.000Z","latest_release_published_at":"2026-02-20T11:19:25.000Z","latest_release_number":"v6.0.0+incompatible","last_synced_at":"2026-04-26T20:01:19.677Z","created_at":"2026-02-21T07:17:15.160Z","updated_at":"2026-04-26T20:01:19.678Z","registry_url":"https://pkg.go.dev/github.com/formtastic/formtastic","install_command":"go get github.com/formtastic/formtastic","documentation_url":"https://pkg.go.dev/github.com/formtastic/formtastic#section-documentation","metadata":{},"repo_metadata":{},"repo_metadata_updated_at":"2026-02-21T12:14:25.877Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":5.277656203241865,"dependent_packages_count":4.945262215966414,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":5.111459209604139},"purl":"pkg:golang/github.com/formtastic/formtastic","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/formtastic/formtastic","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/formtastic/formtastic","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/formtastic/formtastic/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fformtastic%2Fformtastic/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fformtastic%2Fformtastic/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fformtastic%2Fformtastic/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fformtastic%2Fformtastic/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fformtastic%2Fformtastic/codemeta","maintainers":[],"registry":{"name":"proxy.golang.org","url":"https://proxy.golang.org","ecosystem":"go","default":true,"packages_count":2116525,"maintainers_count":0,"namespaces_count":782439,"keywords_count":112823,"github":"golang","metadata":{"funded_packages_count":53495},"icon_url":"https://github.com/golang.png","created_at":"2022-04-04T15:19:22.939Z","updated_at":"2026-04-19T05:14:45.920Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/namespaces"}}],"commits":{"id":3189,"full_name":"formtastic/formtastic","default_branch":"master","total_commits":2321,"total_committers":246,"total_bot_commits":5,"total_bot_committers":2,"mean_commits":9.434959349593496,"dds":0.4834123222748815,"past_year_total_commits":65,"past_year_total_committers":6,"past_year_total_bot_commits":1,"past_year_total_bot_committers":1,"past_year_mean_commits":10.833333333333334,"past_year_dds":0.24615384615384617,"last_synced_at":"2026-04-28T21:31:27.933Z","last_synced_commit":"c5abcc57b0e5f00d09774988bc1445a1577595ac","created_at":"2023-03-07T09:16:47.891Z","updated_at":"2026-04-28T21:18:06.700Z","committers":[{"name":"Justin French","email":"justin@indent.com.au","login":"justinfrench","count":1199},{"name":"Morton Jonuschat","email":"yabawock@gmail.com","login":"mjonuschat","count":99},{"name":"José Valim","email":"jose.valim@gmail.com","login":"josevalim","count":89},{"name":"grimen","email":"grimen@gmail.com","login":"grimen","count":76},{"name":"Gabriel Sobrinho","email":"gabriel.sobrinho@gmail.com","login":"sobrinho","count":71},{"name":"David Rodríguez","email":"deivid.rodriguez@riseup.net","login":"deivid-rodriguez","count":52},{"name":"Thomas Walpole","email":"twalpole@gmail.com","login":"twalpole","count":44},{"name":"Michal Cichra","email":"michal@cichra.cz","login":"mikz","count":40},{"name":"Michal Cichra","email":"michal@o2h.cz","login":null,"count":35},{"name":"Aditya Sanghi","email":"asanghi@me.com","login":null,"count":32},{"name":"Justin French","email":"justin@speechless.local","login":null,"count":28},{"name":"Stan Lo","email":"a22301613@yahoo.com.tw","login":"st0012","count":23},{"name":"Andrew Haines","email":"andrew@haines.org.nz","login":"haines","count":20},{"name":"Jeff Smick","email":"sprsquish@gmail.com","login":"sprsquish","count":17},{"name":"Jakub Okoński","email":"kuba@okonski.org","login":"farnoy","count":15},{"name":"Larry Sprock","email":"larry@lucidbleu.com","login":"lardawge","count":13},{"name":"Joe Francis","email":"joe@lostapathy.com","login":"lostapathy","count":10},{"name":"Timo Schilling","email":"timo@schilling.io","login":"timoschilling","count":9},{"name":"Morton Jonuschat","email":"m.jonuschat@gute-botschafter.de","login":null,"count":7},{"name":"David Butler","email":"dwbutler@ucla.edu","login":"dwbutler","count":7},{"name":"Sebastian Detering","email":"98575184+TimeTravelerFromNow","login":"TimeTravelerFromNow","count":7},{"name":"Mattias Pfeiffer","email":"mattias@pfeiffer.dk","login":"pfeiffer","count":7},{"name":"Marcello Barnaba","email":"vjt@openssl.it","login":"vjt","count":7},{"name":"Tien Dung","email":"dungtn@gmail.com","login":"tiendung","count":6},{"name":"Mark Mansour","email":"mark@stateofflux.com","login":"markmansour","count":6},{"name":"Lachlan Sylvester","email":"lachlan.sylvester@3plearning.com","login":"lsylvester","count":6},{"name":"Karthik T","email":"karthikt.holmes+github@gmail.com","login":"ktaragorn","count":6},{"name":"Adam Meehan","email":"adam.meehan@gmail.com","login":"adzap","count":6},{"name":"Geremia Taglialatela","email":"tagliala.dev@gmail.com","login":"tagliala","count":6},{"name":"Andy Pearson","email":"andy@andy-pearson.com","login":"andypearson","count":5},{"name":"Edgars Beigarts","email":"edgars.beigarts@makit.lv","login":"ebeigarts","count":5},{"name":"Matt Huggins","email":"matt.huggins@gmail.com","login":"mhuggins","count":5},{"name":"Negonicrac","email":"negonicrac@gmail.com","login":"negonicrac","count":5},{"name":"Pat Allan","email":"pat@freelancing-gods.com","login":"pat","count":5},{"name":"Pranas Kiziela","email":"pranas.kiziela@gmail.com","login":"pranas","count":5},{"name":"Xavier Shay","email":"xavier@rhnh.net","login":"xaviershay","count":5},{"name":"Dimitrij Denissenko","email":"dimitrij.denissenko@blacksquaremedia.com","login":"dim","count":4},{"name":"Daniel Rice","email":"danielricecodes","login":"danielricecodes","count":4},{"name":"Christoph Thiel","email":"ct@kki.org","login":"cthiel","count":4},{"name":"Arnau Sanchez","email":"pyarnau@gmail.com","login":"tokland","count":4},{"name":"Balazs Nagy","email":"julsevern@gmail.com","login":"julian7","count":4},{"name":"Nathan Long","email":"nathan.long@tma1.com","login":null,"count":4},{"name":"Sascha Konietzke","email":"sascha@thriventures.com","login":null,"count":4},{"name":"guillaume belleguic","email":"guillaume.belleguic@cixi.eu","login":null,"count":4},{"name":"Konstantin Shabanov","email":"etehtsea@gmail.com","login":"etehtsea","count":4},{"name":"Nikolai B","email":"nikolai-b","login":"nikolai-b","count":4},{"name":"Tom Gilligan","email":"thomas.gilligan@icloud.com","login":"tommy-gilligan","count":4},{"name":"dependabot[bot]","email":"49699333+dependabot[bot]","login":"dependabot[bot]","count":4},{"name":"Vasiliy Ermolovich","email":"younash@gmail.com","login":"nashby","count":4},{"name":"Larry Morales Jordan","email":"larrymoralesjordan@gmail.com","login":"larrymjordan","count":4},{"name":"Anton Smirnov","email":"sandfox@sandfox.me","login":"arokettu","count":3},{"name":"Cory Gwin","email":"gwincr11@yahoo.com","login":"gwincr11","count":3},{"name":"David Backeus","email":"duztdruid@gmail.com","login":"dbackeus","count":3},{"name":"Dmytrii Nagirniak","email":"dnagir@gmail.com","login":"dnagir","count":3},{"name":"Ijonas Kisselbach","email":"ijonas.kisselbach@gmail.com","login":"ijonas","count":3},{"name":"Jakob Skjerning","email":"jakob@mentalized.net","login":"koppen","count":3},{"name":"Robert Pankowecki","email":"robert.pankowecki@gmail.com","login":"paneq","count":3},{"name":"Robin Stocker","email":"robin@nibor.org","login":"robinst","count":3},{"name":"Sergei Smagin","email":"smaginsergey1310@gmail.com","login":"s-mage","count":3},{"name":"Simon Hürlimann (CyT)","email":"simon.huerlimann@cyt.ch","login":"huerlisi","count":3},{"name":"Timothy Klim","email":"klimtimothy@gmail.com","login":"timothyklim","count":3},{"name":"Matthew Rudy Jacobs","email":"matthewrudyjacobs@gmail.com","login":"matthewrudy","count":3},{"name":"Zamith","email":"zamith.28@gmail.com","login":"zamith","count":3},{"name":"Wong Liang Zan","email":"zan@liangzan.net","login":"liangzan","count":3},{"name":"Tom White","email":"twar59@gmail.com","login":"twar59","count":3},{"name":"smix","email":"smixok@gmail.com","login":null,"count":3},{"name":"chrp","email":"christoph.peschel@plugintheworld.com","login":null,"count":3},{"name":"Kjel Delaey","email":"kde@vasco.com","login":null,"count":3},{"name":"Joel Nimety","email":"jnimety@continuity.net","login":null,"count":3},{"name":"Jeroen van Dijk","email":"jeroen@noxa.nl","login":null,"count":3},{"name":"James McKinney","email":"james@slashpoundbang.com","login":null,"count":3},{"name":"Joe Slag","email":"joe@slagwerks.com","login":"jslag","count":2},{"name":"Joshua Davey","email":"josh@joshuadavey.com","login":"jgdavey","count":2},{"name":"José Corcuera","email":"jzcorcuera@gmail.com","login":"jcorcuera","count":2},{"name":"Juan M. Cuello","email":"juanmacuello@gmail.com","login":"Juanmcuello","count":2},{"name":"coreyhaines","email":"coreyhaines@gmail.com","login":"coreyhaines","count":2},{"name":"Alexander Semyonov","email":"al@semyonov.us","login":"alsemyonov","count":2},{"name":"Brian Landau","email":"brianjlandau@gmail.com","login":"brianjlandau","count":2},{"name":"Guillaume DOTT","email":"guillaume+github@dott.fr","login":"gdott9","count":2},{"name":"Hans Petter Wilhelmsen","email":"hanspetter@gmail.com","login":"HP","count":2},{"name":"Guillermo Guerrero Ibarra","email":"wolf.fox1985@gmail.com","login":"ryanfox1985","count":2},{"name":"Petteri Räty","email":"petsku@petteriraty.eu","login":"betelgeuse","count":2},{"name":"Petrica Ghiurca","email":"petrica@ghiurca.net","login":"gpetrica","count":2},{"name":"Nicky Peeters","email":"nicky@speakermouth.com","login":"nickyp","count":2},{"name":"Moritz Kröger","email":"mcrip@net-shock.de","login":"McRip","count":2},{"name":"Mikael Henriksson","email":"mikael@zoolutions.se","login":"mhenrixon","count":2},{"name":"Michael Koper","email":"michaelkoper@gmail.com","login":"michaelkoper","count":2},{"name":"Matt Wilson","email":"mhw@hypomodern.com","login":"hypomodern","count":2},{"name":"Matt Vague","email":"mattvague@gmail.com","login":"mattvague","count":2},{"name":"Rahul Trikha","email":"rahul@katalyst.com.au","login":null,"count":2},{"name":"Simon","email":"simon@quad.(none)","login":null,"count":2},{"name":"Gareth Townsend","email":"quamen@gmail.com","login":null,"count":2},{"name":"Kirill Shaplyko","email":"k.shaplyko@itransition.com","login":null,"count":2},{"name":"Nathan S","email":"nathan@inspire9.com","login":null,"count":2},{"name":"Greg Fitzgerald","email":"netzdamon@gmail.com","login":null,"count":2},{"name":"Jacob Kjeldahl","email":"jkj@lenio.dk","login":null,"count":2},{"name":"Karst Hammer","email":"karst@noxa.nl","login":null,"count":2},{"name":"Bruce Williams","email":"bruce@codefluency.com","login":null,"count":2},{"name":"Daniel Rice","email":"daniel.rice@ldstudios.co","login":null,"count":2},{"name":"Darin Richardson","email":"darin@refreshmedia.com","login":null,"count":2},{"name":"Francesco Saltori","email":"francescosaltori@gmail.com","login":"Fs00","count":2},{"name":"Egor Lynko","email":"flexoid@gmail.com","login":"flexoid","count":2},{"name":"Derek Kniffin","email":"derek.kniffin@gmail.com","login":"dkniffin","count":2},{"name":"DeLynn Berry","email":"delynn@gmail.com","login":"delynn","count":2},{"name":"Dallas Reedy","email":"code@dallasreedy.com","login":"dallas","count":2},{"name":"Daiki Ueno","email":"ueno@unixuser.org","login":"ueno","count":2},{"name":"Oliver Klee","email":"o.klee@braingourmets.com","login":"oliverklee","count":2},{"name":"Salimane Adjao Moustapha","email":"me@salimane.com","login":"salimane","count":2},{"name":"Pip Taylor","email":"pip@evilgeek.co.uk","login":"pipt","count":2},{"name":"René Föhring","email":"rf@bamaru.de","login":"rrrene","count":2},{"name":"Roman Shatsov","email":"roshats@gmail.com","login":"roshats","count":2},{"name":"Sascha Hoellger","email":"mitnal@castle-grayskull.org","login":"mitnal","count":2},{"name":"Stefan Wrobel","email":"swrobel","login":"swrobel","count":2},{"name":"Victor Stan","email":"victor.stan@gmail.com","login":"victorbstan","count":2},{"name":"Wojciech Wnętrzak","email":"w.wnetrzak@gmail.com","login":"morgoth","count":2},{"name":"Zach Morek","email":"zmorek@gmail.com","login":"ZachBeta","count":2},{"name":"adrianpike","email":"adrian.pike@gmail.com","login":"adrianpike","count":2},{"name":"Kent Fenwick","email":"kent.fenwick@gmail.com","login":"kent","count":2},{"name":"Matt Burke","email":"spraints@gmail.com","login":"spraints","count":2},{"name":"Clifford Heath","email":"clifford.heath@gmail.com","login":"cjheath","count":2},{"name":"Sandro Turriate and Tim Pope","email":"dev+sandro+tpope@hashrocket.com","login":null,"count":1},{"name":"Philippe","email":"pcreux@alpaca.(none)","login":null,"count":1},{"name":"Philipp Gildein","email":"philipp.gildein@mhm-hr.com","login":null,"count":1},{"name":"Mihai Târnovan","email":"mihai.tarnovan@cubus.ro","login":null,"count":1},{"name":"Mateusz Drożdżyński","email":"matid@matid.net","login":null,"count":1},{"name":"Martin Moen Wulffeld","email":"martin@wulffeld.org","login":null,"count":1},{"name":"Justin French","email":"justin@mail.messagingengine.com","login":null,"count":1},{"name":"John Firebaugh","email":"john_firebaugh@bigfix.com","login":null,"count":1},{"name":"Jakub Kuzma","email":"kuba@synergypeople.net","login":null,"count":1},{"name":"Hunter Gillane","email":"pair+hunter@reeebootin.com","login":null,"count":1},{"name":"Hao Liu","email":"hao.liu@cohortsolutions.com","login":null,"count":1},{"name":"Gareth Townsend","email":"garetht@gareth-townsends-imac.local","login":null,"count":1},{"name":"Egor Vakhromtsev","email":"e.vakhromtsev@mediacrat.ru","login":null,"count":1},{"name":"Daan Oosterveld","email":"daan@dusdanig.com","login":null,"count":1},{"name":"Craig Jackson","email":"cjackson@kabam.com","login":null,"count":1},{"name":"Simon Chiu","email":"skhchiu@gmail.com","login":null,"count":1},{"name":"Steve Jorgensen","email":"stevej@renewfund.com","login":null,"count":1},{"name":"Tom Miller","email":"tom.miller@luckie.com","login":null,"count":1},{"name":"Tomas Jogin","email":"tomasj@gmail.com","login":null,"count":1},{"name":"Wojciech Wnętrzak","email":"wojtek@synergypeople.net","login":null,"count":1},{"name":"beawesomeinstead","email":"graf.otodrakula@gmail.com","login":null,"count":1},{"name":"iscra","email":"ah@gamegenetics.de","login":null,"count":1},{"name":"rubaidh","email":"support@rubaidh.com","login":null,"count":1},{"name":"ubnormal","email":"maximchick@gmail.com","login":null,"count":1},{"name":"Rustam Sharshenov","email":"rustam@sharshenov.com","login":"sharshenov","count":1},{"name":"Russell Garner","email":"rgarner@zephyros-systems.co.uk","login":"rgarner","count":1},{"name":"Robert Wahler","email":"robert@gearheadforhire.com","login":"robertwahler","count":1},{"name":"Richard Smith","email":"r.s@me.com","login":"rds","count":1},{"name":"Ramon Soares","email":"eu@ramonsoares.com","login":"ramon","count":1},{"name":"PoTa","email":"pota@mosfet.hu","login":"eLod","count":1},{"name":"Pirogov Evgenij","email":"iamexile@gmail.com","login":"gmile","count":1},{"name":"Andrew Kaspick","email":"andrew@redlinesoftware.com","login":"akaspick","count":1},{"name":"rabidpraxis","email":"webster.kevin@gmail.com","login":"rabidtester","count":1},{"name":"pmcnano","email":"pmc.nano@gmail.com","login":"pmcnano","count":1},{"name":"petitviolet","email":"violethero0820@gmail.com","login":"petitviolet","count":1},{"name":"nberger","email":"nicoberger@gmail.com","login":"nberger","count":1},{"name":"lanzhiheng","email":"lanzhihengrj@gmail.com","login":"lanzhiheng","count":1},{"name":"eugenebolshakov","email":"eugene.bolshakov@gmail.com","login":"eugenebolshakov","count":1},{"name":"eugen neagoe","email":"eneagoe@gmail.com","login":"eneagoe","count":1},{"name":"copilot-swe-agent[bot]","email":"198982749+Copilot","login":"Copilot","count":1},{"name":"Vladimir Parfinenko","email":"vladimir.parfinenko@gmail.com","login":"cypok","count":1},{"name":"Vijay Dev","email":"vijaydev.cse@gmail.com","login":"vijaydev","count":1},{"name":"Tyler DeWitt","email":"tyler.dewitt@colorado.edu","login":"workmaster2n","count":1},{"name":"Toni Tuominen","email":"toni@cloudmods.net","login":"tjtuom","count":1},{"name":"Tom Simnett","email":"tom@initforthe.com","login":"simmerz","count":1},{"name":"Tim Harper","email":"timcharper@gmail.com","login":"timcharper","count":1},{"name":"Taavo Smith","email":"taavo@mac.com","login":"taavo","count":1},{"name":"TMaYaD","email":"tmayad@loonyb.in","login":"TMaYaD","count":1},{"name":"Szymon Nowak","email":"szimek@gmail.com","login":"szimek","count":1},{"name":"Sergey Vershinin","email":"accountwm@gmail.com","login":"Yarroo","count":1},{"name":"Sergey Nartimov","email":"just.lest@gmail.com","login":"lest","count":1},{"name":"Sebastian Gassner","email":"sebastian.gassner@gmail.com","login":"sepastian","count":1},{"name":"Ryan McGeary","email":"ryan@mcgeary.org","login":"rmm5t","count":1},{"name":"Ryan Garver","email":"ragarver@gmail.com","login":"rgarver","count":1},{"name":"Andreas Haller","email":"andreashaller@gmail.com","login":null,"count":1},{"name":"Andrew Carpenter","email":"acarpen@wested.org","login":null,"count":1},{"name":"Ben Hamill","email":"git-commits@benhamill.com","login":null,"count":1},{"name":"Ben Saunders","email":"ben@harvey.co.uk","login":null,"count":1},{"name":"Brad Carson","email":"brad@base3media.com","login":null,"count":1},{"name":"Brad Seefeld","email":"bseefeld@g2llc.com","login":null,"count":1},{"name":"Carl Douglas","email":"carl@carlsmac.local","login":null,"count":1},{"name":"Chloe Agape","email":"chloe@binti.com","login":null,"count":1},{"name":"Jack Dempsey","email":"jack.dempsey@gmail.com","login":"jackdempsey","count":1},{"name":"Jacek Tomaszewski","email":"jacek@jtom.me","login":"jtomaszewski","count":1},{"name":"Igor Fedoronchuk","email":"fedoronchuk@gmail.com","login":"Fivell","count":1},{"name":"Hector E. Gomez Morales","email":"hectoregm@gmail.com","login":"hectoregm","count":1},{"name":"Evgeny Lapin","email":"lev@openteam.ru","login":"jenkek","count":1},{"name":"Evgeniy Dolzhenko","email":"dolzenko@gmail.com","login":"dolzenko","count":1},{"name":"Eric Davis","email":"edavis@littlestreamsoftware.com","login":"edavis10","count":1},{"name":"Elia Schito","email":"elia@schito.me","login":"elia","count":1},{"name":"Doug Ireton","email":"dougireton@gmail.com","login":"dougireton","count":1},{"name":"Dominic Dagradi","email":"ddagradi@gmail.com","login":"dominic","count":1},{"name":"Dmitry Polushkin","email":"dmitry.polushkin@gmail.com","login":"dmitry","count":1},{"name":"Disha Al Baqui","email":"disha.albaqui@gmail.com","login":"direction","count":1},{"name":"Diego Scataglini","email":"dscataglini@hedgeye.com","login":"dscataglini","count":1},{"name":"Diego Algorta","email":"diego@oboxodo.com","login":"oboxodo","count":1},{"name":"Denis Peplin","email":"denis.peplin@gmail.com","login":"denispeplin","count":1},{"name":"David Singer","email":"david@ramaboo.com","login":"ramaboo","count":1},{"name":"David Celis","email":"me@davidcel.is","login":"davidcelis","count":1},{"name":"Dave Ungerer","email":"daveungerer@gmail.com","login":"orangethunder","count":1},{"name":"Daniel Rikowski","email":"daniel@rikowski.net","login":"daniel-rikowski","count":1},{"name":"Dan Bernier","email":"danbernier@gmail.com","login":"danbernier","count":1},{"name":"Crystalin","email":"alan.sapede@gmail.com","login":"crystalin","count":1},{"name":"Corin Langosch","email":"info@corinlangosch.com","login":"gucki","count":1},{"name":"Christian Schmidt","email":"github@chsc.dk","login":"c960657","count":1},{"name":"Chad Ostrowski","email":"chad.ostrowski@gmail.com","login":"chadoh","count":1},{"name":"Brent Vatne","email":"brentvatne@gmail.com","login":"brentvatne","count":1},{"name":"Bradley Priest","email":"bradleypriest@gmail.com","login":"bradleypriest","count":1},{"name":"Ben Schwarz","email":"ben.schwarz@gmail.com","login":"benschwarz","count":1},{"name":"Arthur Nogueira Neves","email":"arthurnn@gmail.com","login":"arthurnn","count":1},{"name":"Anne Schanz","email":"write@anneschanz.de","login":"aennchen","count":1},{"name":"Alexandru Anca","email":"aanca@freshbooks.com","login":"ionut998","count":1},{"name":"Alex Sharp","email":"ajsharp@gmail.com","login":"ajsharp","count":1},{"name":"Alex Rothenberg","email":"alex@alexrothenberg.com","login":"alexrothenberg","count":1},{"name":"Corin Langosch","email":"corin.langosch@netskin.com","login":null,"count":1},{"name":"Pilaf","email":"pfayolle@gmail.com","login":"pilaf","count":1},{"name":"Phillipp Röll","email":"phillipp.roell@trafficplex.de","login":"phillipp","count":1},{"name":"Philippe Creux","email":"pcreux@gmail.com","login":"pcreux","count":1},{"name":"Paul Smith","email":"paul@elandesign.co.uk","login":"elandesign","count":1},{"name":"Paul Philippov","email":"themactep@gmail.com","login":"themactep","count":1},{"name":"Niklas","email":"niklas@ytvwld.de","login":"YtvwlD","count":1},{"name":"Nicholas Clark","email":"nick4jesus@gmail.com","login":"NickClark","count":1},{"name":"Nathan Long","email":"nathanmlong@gmail.com","login":"nathanl","count":1},{"name":"Moritz Heidkamp","email":"moritz.heidkamp@bevuta.com","login":"DerGuteMoritz","count":1},{"name":"Michael Guterl","email":"michael@diminishing.org","login":"mguterl","count":1},{"name":"Maxime Vaillancourt","email":"mv@maximevaillancourt.com","login":"maximevaillancourt","count":1},{"name":"Maxim Dobryakov","email":"maxim.dobryakov@gmail.com","login":"maxd","count":1},{"name":"Martijn Storck","email":"martijn@lico.nl","login":"martijn","count":1},{"name":"Marnen Laibow-Koser","email":"mlaibow-koser@dmcouncil.org","login":"marnen","count":1},{"name":"Mark Edmondson","email":"mark.edmondson@gmail.com","login":"markedmondson","count":1},{"name":"Manuel Meurer","email":"manuel.meurer@gmail.com","login":"manuelmeurer","count":1},{"name":"Magnus Bergmark","email":"magnus.bergmark@gmail.com","login":"Mange","count":1},{"name":"M. E. Patterson","email":"madraziel@gmail.com","login":"mepatterson","count":1},{"name":"Leonard Chin","email":"l.g.chin@gmail.com","login":"l15n","count":1},{"name":"Leo Arnold","email":"github@leoarnold.de","login":"leoarnold","count":1},{"name":"Laura","email":"laura.tatsutahime@gmail.com","login":"Morred","count":1},{"name":"Lars O. Overskeid","email":"ovelar@gmail.com","login":"ovelar","count":1},{"name":"Kouhei Sutou","email":"kou@clear-code.com","login":"kou","count":1},{"name":"Kjel Delaey","email":"kjel_delaey@hotmail.com","login":"trimentor","count":1},{"name":"Ken Mazaika","email":"kenmazaika@gmail.com","login":"metropolis-testman","count":1},{"name":"Kacper Bielecki","email":"kazjote@gmail.com","login":"kazjote","count":1},{"name":"Julian Kornberger","email":"jk+github@digineo.de","login":"corny","count":1},{"name":"Josh Kalderimis","email":"josh.kalderimis@gmail.com","login":"joshk","count":1},{"name":"Joe Winter","email":"jwinter@gmail.com","login":"jwinter","count":1},{"name":"Jason King","email":"jk@silentcow.com","login":"smathy","count":1},{"name":"Jan Schwenzien","email":"jan@schwenzien.org","login":"jeanmartin","count":1}],"past_year_committers":[{"name":"Justin French","email":"justin@indent.com.au","login":"justinfrench","count":49},{"name":"Sebastian Detering","email":"98575184+TimeTravelerFromNow","login":"TimeTravelerFromNow","count":7},{"name":"Geremia Taglialatela","email":"tagliala.dev@gmail.com","login":"tagliala","count":6},{"name":"copilot-swe-agent[bot]","email":"198982749+Copilot","login":"Copilot","count":1},{"name":"Sergey Vershinin","email":"accountwm@gmail.com","login":"Yarroo","count":1},{"name":"Leo Arnold","email":"github@leoarnold.de","login":"leoarnold","count":1}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/formtastic%2Fformtastic/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-29T00:00:10.453Z","repositories_count":6222900,"commits_count":899833245,"contributors_count":34897457,"owners_count":1147463,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"formtastic/formtastic","html_url":"https://github.com/formtastic/formtastic","last_synced_at":"2026-03-10T21:00:59.487Z","status":"active","issues_count":67,"pull_requests_count":93,"avg_time_to_close_issue":88884117.22413793,"avg_time_to_close_pull_request":42710097.18666667,"issues_closed_count":58,"pull_requests_closed_count":75,"pull_request_authors_count":33,"issue_authors_count":56,"avg_comments_per_issue":4.373134328358209,"avg_comments_per_pull_request":1.4731182795698925,"merged_pull_requests_count":45,"bot_issues_count":0,"bot_pull_requests_count":6,"past_year_issues_count":3,"past_year_pull_requests_count":22,"past_year_avg_time_to_close_issue":14880708.0,"past_year_avg_time_to_close_pull_request":464421.0,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":10,"past_year_pull_request_authors_count":5,"past_year_issue_authors_count":3,"past_year_avg_comments_per_issue":1.0,"past_year_avg_comments_per_pull_request":1.2272727272727273,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":8,"created_at":"2023-05-12T10:44:58.983Z","updated_at":"2026-03-10T21:00:59.487Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/formtastic%2Fformtastic","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/formtastic%2Fformtastic/issues","issue_labels_count":{"bug":9,"feature":8,"dev":3,"change":2,"docs":2,"support":1},"pull_request_labels_count":{"bug":11,"dependencies":6,"feature":3},"issue_author_associations_count":{"NONE":51,"MEMBER":9,"CONTRIBUTOR":7},"pull_request_author_associations_count":{"CONTRIBUTOR":32,"MEMBER":31,"NONE":30},"issue_authors":{"justinfrench":9,"molfar":3,"dkniffin":2,"mateuszbialowas":1,"amlisirev":1,"yjukaku":1,"alekseyl":1,"moneil868":1,"davidwessman":1,"hww":1,"dcalixto":1,"treble37":1,"nicolas-brousse":1,"romanbsd":1,"Meryldominguez":1,"coorasse":1,"rhulse":1,"timwis":1,"maximevaillancourt":1,"lanzhiheng":1,"cristianogregnanin":1,"IshmeetSingh06":1,"habermeier":1,"obie":1,"aivils":1,"IrinaBron":1,"kewlar":1,"seb-sykio":1,"bennyzr":1,"fernandes":1,"kvokka":1,"bsylvain":1,"padde":1,"bertBruynooghe":1,"eltados":1,"Fire-Dragon-DoL":1,"dfsklar":1,"scarroll32":1,"winstonwolff":1,"mikz":1,"denys-husiev-perfectial":1,"jnimety":1,"vincentwoo":1,"shalvika":1,"norman":1,"TimeTravelerFromNow":1,"simlegate":1,"JeremyEllingham":1,"agn507":1,"thomasdziedzic-calmwave":1,"waiting-for-dev":1,"oni7uka":1,"fabien-michel":1,"mzaragoza":1,"pduersteler":1,"ahmedmathlouthi":1},"pull_request_authors":{"deivid-rodriguez":16,"justinfrench":15,"dependabot[bot]":6,"tagliala":6,"tomgilligan":4,"TimeTravelerFromNow":4,"mikz":3,"lanzhiheng":2,"Morred":2,"nicolas-brousse":2,"Mar1cX":2,"tiegz":2,"aussiDavid":2,"dscataglini":2,"pmcnano":2,"davidwessman":2,"c960657":2,"leoarnold":2,"cody-elhard":2,"gregschmit":2,"arokettu":1,"Fs00":1,"tomoyoi":1,"lsylvester":1,"s-mage":1,"jakemiller13":1,"ionut998":1,"Lukom":1,"oboxodo":1,"javierjulio":1,"AMHOL":1,"Yarroo":1,"maximevaillancourt":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-30T00:00:06.639Z","repositories_count":14450967,"issues_count":34175150,"pull_requests_count":112081042,"authors_count":11249805,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{"docs":1},"past_year_pull_request_labels_count":{"bug":2},"past_year_issue_author_associations_count":{"CONTRIBUTOR":1,"MEMBER":1,"NONE":1},"past_year_pull_request_author_associations_count":{"MEMBER":10,"CONTRIBUTOR":5,"NONE":5},"past_year_issue_authors":{"davidwessman":1,"justinfrench":1,"TimeTravelerFromNow":1},"past_year_pull_request_authors":{"justinfrench":10,"tagliala":6,"TimeTravelerFromNow":2,"javierjulio":1,"Yarroo":1},"maintainers":[{"login":"justinfrench","count":24,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/justinfrench"},{"login":"deivid-rodriguez","count":16,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/deivid-rodriguez"}],"active_maintainers":[{"login":"justinfrench","count":11,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/justinfrench"}]},"events":{"total":{"DeleteEvent":5,"PullRequestEvent":27,"ForkEvent":10,"IssuesEvent":22,"WatchEvent":22,"IssueCommentEvent":36,"PushEvent":38,"PullRequestReviewEvent":15,"PullRequestReviewCommentEvent":9,"CreateEvent":8},"last_year":{"DeleteEvent":5,"PullRequestEvent":23,"ForkEvent":3,"IssuesEvent":21,"WatchEvent":6,"IssueCommentEvent":34,"PushEvent":38,"PullRequestReviewEvent":15,"PullRequestReviewCommentEvent":9,"CreateEvent":8}},"keywords":[],"dependencies":[{"ecosystem":"rubygems","filepath":"formtastic.gemspec","sha":null,"kind":"manifest","created_at":"2022-07-16T14:00:41.095Z","updated_at":"2022-07-16T14:00:41.095Z","repository_link":"https://github.com/formtastic/formtastic/blob/master/formtastic.gemspec","dependencies":[{"id":235589612,"package_name":"actionpack","ecosystem":"rubygems","requirements":"\u003e= 6.0.0","direct":true,"kind":"runtime","optional":false},{"id":235589613,"package_name":"rspec-rails","ecosystem":"rubygems","requirements":"~\u003e 3.4","direct":true,"kind":"development","optional":false},{"id":235589614,"package_name":"rspec-dom-testing","ecosystem":"rubygems","requirements":"\u003e= 0.1.0","direct":true,"kind":"development","optional":false},{"id":235589615,"package_name":"yard","ecosystem":"rubygems","requirements":"~\u003e 0.9.20","direct":true,"kind":"development","optional":false},{"id":235589616,"package_name":"ammeter","ecosystem":"rubygems","requirements":"~\u003e 1.1.3","direct":true,"kind":"development","optional":false},{"id":235589617,"package_name":"rake","ecosystem":"rubygems","requirements":"\u003e= 0","direct":true,"kind":"development","optional":false},{"id":235589618,"package_name":"sqlite3","ecosystem":"rubygems","requirements":"~\u003e 1.4","direct":true,"kind":"development","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/test.yml","sha":null,"kind":"manifest","created_at":"2023-02-19T09:31:29.312Z","updated_at":"2023-02-19T09:31:29.312Z","repository_link":"https://github.com/formtastic/formtastic/blob/master/.github/workflows/test.yml","dependencies":[{"id":7783780946,"package_name":"ruby/setup-ruby","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false},{"id":7783780941,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":7783780944,"package_name":"actions/setup-node","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"rubygems","filepath":"Gemfile","sha":null,"kind":"manifest","created_at":"2023-10-16T19:52:52.628Z","updated_at":"2023-10-16T19:52:52.628Z","repository_link":"https://github.com/formtastic/formtastic/blob/master/Gemfile","dependencies":[]},{"ecosystem":"actions","filepath":".github/workflows/integration.yaml","sha":null,"kind":"manifest","created_at":"2026-02-22T01:04:02.606Z","updated_at":"2026-02-22T01:04:02.606Z","repository_link":"https://github.com/formtastic/formtastic/blob/master/.github/workflows/integration.yaml","dependencies":[{"id":25823362782,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v6","direct":true,"kind":"composite","optional":false},{"id":25823362783,"package_name":"actions/setup-node","ecosystem":"actions","requirements":"v6","direct":true,"kind":"composite","optional":false},{"id":25823362784,"package_name":"ruby/setup-ruby","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false}]}],"score":null,"created_at":"2024-12-15T21:38:07.296Z","updated_at":"2026-04-30T22:00:28.305Z","avatar_url":"https://github.com/formtastic.png","language":"Ruby","monthly_downloads":0,"readme":"# Formtastic\n\n[![Build Status](https://github.com/formtastic/formtastic/workflows/test/badge.svg)](https://github.com/formtastic/formtastic/actions)\n[![Inline docs](https://inch-ci.org/github/justinfrench/formtastic.svg?branch=master)](https://inch-ci.org/github/justinfrench/formtastic)\n[![Code Climate](https://qlty.sh/gh/formtastic/projects/formtastic/maintainability.svg)](https://qlty.sh/gh/formtastic/projects/formtastic)\n[![Gem Version](https://badge.fury.io/rb/formtastic.svg)](https://badge.fury.io/rb/formtastic)\n\nFormtastic is a Rails FormBuilder DSL (with some other goodies) to make it far easier to create beautiful, semantically rich, syntactically awesome, readily stylable and wonderfully accessible HTML forms in your Rails applications.\n\n## Documentation \u0026 Support\n\n* [Documentation is available on rubydoc.info](https://rubydoc.info/github/formtastic/formtastic)\n* [We track issues \u0026 bugs on GitHub](https://github.com/formtastic/formtastic/issues)\n* [We have a wiki on GitHub](https://github.com/formtastic/formtastic/wiki)\n* [StackOverflow can help](https://stackoverflow.com/questions/tagged/formtastic)\n\n## Compatibility\n\n* Formtastic 6.x requires Rails 7.2 and Ruby 3.1 minimum, inline with Rails minimum supported versions\n* Formtastic 5.x requires Rails 6.0 and Ruby 2.6 minimum\n* Formtastic, much like Rails, is very ActiveRecord-centric. Many are successfully using other ActiveModel-like ORMs and objects (DataMapper, MongoMapper, Mongoid, Authlogic, Devise...) but we're not guaranteeing full compatibility at this stage. Patches are welcome!\n\n## The Story\n\nOne day, I finally had enough, so I opened up my text editor, and wrote a DSL for how I'd like to author forms:\n\n```erb\n  \u003c%= semantic_form_for @article do |f| %\u003e\n\n    \u003c%= f.inputs :name =\u003e \"Basic\" do %\u003e\n      \u003c%= f.input :title %\u003e\n      \u003c%= f.input :body %\u003e\n      \u003c%= f.input :section %\u003e\n      \u003c%= f.input :publication_state, :as =\u003e :radio %\u003e\n      \u003c%= f.input :category %\u003e\n      \u003c%= f.input :allow_comments, :label =\u003e \"Allow commenting on this article\" %\u003e\n    \u003c% end %\u003e\n\n    \u003c%= f.inputs :name =\u003e \"Advanced\" do %\u003e\n      \u003c%= f.input :keywords, :required =\u003e false, :hint =\u003e \"Example: ruby, rails, forms\" %\u003e\n      \u003c%= f.input :extract, :required =\u003e false %\u003e\n      \u003c%= f.input :description, :required =\u003e false %\u003e\n      \u003c%= f.input :url_title, :required =\u003e false %\u003e\n    \u003c% end %\u003e\n\n    \u003c%= f.inputs :name =\u003e \"Author\", :for =\u003e :author do |author_form| %\u003e\n      \u003c%= author_form.input :first_name %\u003e\n      \u003c%= author_form.input :last_name %\u003e\n    \u003c% end %\u003e\n\n    \u003c%= f.actions do %\u003e\n      \u003c%= f.action :submit, :as =\u003e :button %\u003e\n      \u003c%= f.action :cancel, :as =\u003e :link %\u003e\n    \u003c% end %\u003e\n\n  \u003c% end %\u003e\n```\n\nI also wrote the accompanying HTML output I expected, favoring something very similar to the fieldsets, lists and other semantic elements Aaron Gustafson presented in [Learning to Love Forms](https://www.slideshare.net/slideshow/learning-to-love-forms-webvisions-07/45589), hacking together enough Ruby to prove it could be done.\n\n\n## It's awesome because...\n\n* It can handle `belongs_to` associations (like Post belongs_to :author), rendering a select or set of radio inputs with choices from the parent model.\n* It can handle `has_many` and `has_and_belongs_to_many` associations (like: Post has_many :tags), rendering a multi-select with choices from the child models.\n* It's Rails 3/4 compatible (including nested forms).\n* It has internationalization (I18n)!\n* It's _really_ quick to get started with a basic form in place (4 lines), then go back to add in more detail if you need it.\n* There's heaps of elements, id and class attributes for you to hook in your CSS and JS.\n* It handles real world stuff like inline hints, inline error messages \u0026 help text.\n* It doesn't hijack or change any of the standard Rails form inputs, so you can still use them as expected (even mix and match).\n* It's got absolutely awesome spec coverage.\n* There's a bunch of people using and working on it (it's not just one developer building half a solution).\n* It has growing HTML5 support (new inputs like email/phone/search, new attributes like required/min/max/step/placeholder)\n\n\n## Opinions\n\n* It should be easier to do things the right way than the wrong way.\n* Sometimes _more mark-up_ is better.\n* Elements and attribute hooks are _gold_ for stylesheet authors.\n* Make the common things we do easy, yet ensure uncommon things are still possible.\n\n\n## Installation\n\nSimply add Formtastic to your Gemfile and bundle it up:\n\n```ruby\n  gem 'formtastic', '~\u003e 5.0'\n```\n\nRun the installation generator:\n\n```shell\n$ rails generate formtastic:install\n```\n\n\n## Stylesheets\n\nAn optional proof-of-concept stylesheet can be generated and installed into your app:\n\n```shell\n$ rails generate formtastic:stylesheet\n```\n\n\n## Usage\n\nForms are really boring to code... you want to get onto the good stuff as fast as possible.\n\nThis renders a set of inputs (one for _most_ columns in the database table, and one for each ActiveRecord `belongs_to`-association), followed by default action buttons (an input submit button):\n\n```erb\n  \u003c%= semantic_form_for @user do |f| %\u003e\n    \u003c%= f.inputs %\u003e\n    \u003c%= f.actions %\u003e\n  \u003c% end %\u003e\n```\n\nThis is a great way to get something up fast, but like scaffolding, it's *not recommended for production*. Don't be so lazy!\n\nTo specify the order of the fields, skip some of the fields or even add in fields that Formtastic couldn't infer. You can pass in a list of field names to `inputs` and list of action names to `actions`:\n\n```erb\n  \u003c%= semantic_form_for @user do |f| %\u003e\n    \u003c%= f.inputs :title, :body, :section, :categories, :created_at %\u003e\n    \u003c%= f.actions :submit, :cancel %\u003e\n  \u003c% end %\u003e\n```\n\nYou probably want control over the input type Formtastic uses for each field. You can expand the `inputs` and `actions` to block helper format and use the `:as` option to specify an exact input type:\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.inputs do %\u003e\n      \u003c%= f.input :title %\u003e\n      \u003c%= f.input :body %\u003e\n      \u003c%= f.input :section, :as =\u003e :radio %\u003e\n      \u003c%= f.input :categories %\u003e\n      \u003c%= f.input :created_at, :as =\u003e :string %\u003e\n    \u003c% end %\u003e\n    \u003c%= f.actions do %\u003e\n      \u003c%= f.action :submit, :as =\u003e :button %\u003e\n      \u003c%= f.action :cancel, :as =\u003e :link %\u003e\n    \u003c% end %\u003e\n  \u003c% end %\u003e\n```\n\nIf you want to customize the label text, or render some hint text below the field, specify which fields are required/optional, or break the form into two fieldsets, the DSL is pretty comprehensive:\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.inputs \"Basic\", :id =\u003e \"basic\" do %\u003e\n      \u003c%= f.input :title %\u003e\n      \u003c%= f.input :body %\u003e\n    \u003c% end %\u003e\n    \u003c%= f.inputs :name =\u003e \"Advanced Options\", :id =\u003e \"advanced\" do %\u003e\n      \u003c%= f.input :slug, :label =\u003e \"URL Title\", :hint =\u003e \"Created automatically if left blank\", :required =\u003e false %\u003e\n      \u003c%= f.input :section, :as =\u003e :radio %\u003e\n      \u003c%= f.input :user, :label =\u003e \"Author\" %\u003e\n      \u003c%= f.input :categories, :required =\u003e false %\u003e\n      \u003c%= f.input :created_at, :as =\u003e :string, :label =\u003e \"Publication Date\", :required =\u003e false %\u003e\n    \u003c% end %\u003e\n    \u003c%= f.actions do %\u003e\n      \u003c%= f.action :submit %\u003e\n    \u003c% end %\u003e\n  \u003c% end %\u003e\n```\n\nYou can create forms for nested resources:\n\n```erb\n\t\u003c%= semantic_form_for [@author, @post] do |f| %\u003e\n```\n\nNested forms are also supported (don't forget your models need to be setup correctly with `accepts_nested_attributes_for`). You can do it in the Rails way:\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.inputs :title, :body, :created_at %\u003e\n    \u003c%= f.semantic_fields_for :author do |author| %\u003e\n      \u003c%= author.inputs :first_name, :last_name, :name =\u003e \"Author\" %\u003e\n    \u003c% end %\u003e\n    \u003c%= f.actions %\u003e\n  \u003c% end %\u003e\n```\n\nOr the Formtastic way with the `:for` option:\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.inputs :title, :body, :created_at %\u003e\n    \u003c%= f.inputs :first_name, :last_name, :for =\u003e :author, :name =\u003e \"Author\" %\u003e\n    \u003c%= f.actions %\u003e\n  \u003c% end %\u003e\n```\n\nWhen working in has many association, you can even supply `\"%i\"` in your fieldset name; they will be properly interpolated with the child index. For example:\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.inputs %\u003e\n    \u003c%= f.inputs :name =\u003e 'Category #%i', :for =\u003e :categories %\u003e\n    \u003c%= f.actions %\u003e\n  \u003c% end %\u003e\n```\n\nAlternatively, the current index can be accessed via the `inputs` block's arguments for use anywhere:\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.inputs :for =\u003e :categories do |category, i| %\u003e\n      ...\n    \u003c%= f.actions %\u003e\n  \u003c% end %\u003e\n```\n\nIf you have more than one form on the same page, it may lead to HTML invalidation because of the way HTML element id attributes are assigned. You can provide a namespace for your form to ensure uniqueness of id attributes on form elements. The namespace attribute will be prefixed with underscore on the generate HTML id. For example:\n\n```erb\n  \u003c%= semantic_form_for(@post, :namespace =\u003e 'cat_form') do |f| %\u003e\n    \u003c%= f.inputs do %\u003e\n      \u003c%= f.input :title %\u003e        # id=\"cat_form_post_title\"\n      \u003c%= f.input :body %\u003e         # id=\"cat_form_post_body\"\n      \u003c%= f.input :created_at %\u003e   # id=\"cat_form_post_created_at\"\n    \u003c% end %\u003e\n    \u003c%= f.actions %\u003e\n  \u003c% end %\u003e\n```\n\nCustomize HTML attributes for any input using the `:input_html` option. Typically this is used to disable the input, change the size of a text field, change the rows in a textarea, or even to add a special class to an input to attach special behavior like [autogrow](https://plugins.jquery.com/project/autogrowtextarea) textareas:\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.inputs do %\u003e\n      \u003c%= f.input :title,      :input_html =\u003e { :size =\u003e 10 } %\u003e\n      \u003c%= f.input :body,       :input_html =\u003e { :class =\u003e 'autogrow', :rows =\u003e 10, :cols =\u003e 20, :maxlength =\u003e 10  } %\u003e\n      \u003c%= f.input :created_at, :input_html =\u003e { :disabled =\u003e true } %\u003e\n      \u003c%= f.input :updated_at, :input_html =\u003e { :readonly =\u003e true } %\u003e\n    \u003c% end %\u003e\n    \u003c%= f.actions %\u003e\n  \u003c% end %\u003e\n```\n\nThe same can be done for actions with the `:button_html` option:\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    ...\n    \u003c%= f.actions do %\u003e\n      \u003c%= f.action :submit, :button_html =\u003e { :class =\u003e \"primary\", :disable_with =\u003e 'Wait...' } %\u003e\n    \u003c% end %\u003e\n  \u003c% end %\u003e\n```\n\nCustomize the HTML attributes for the `\u003cli\u003e` wrapper around every input with the `:wrapper_html` option hash. There's one special key in the hash: (`:class`), which will actually _append_ your string of classes to the existing classes provided by Formtastic (like `\"required string error\"`).\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.inputs do %\u003e\n      \u003c%= f.input :title, :wrapper_html =\u003e { :class =\u003e \"important\" } %\u003e\n      \u003c%= f.input :body %\u003e\n      \u003c%= f.input :description, :wrapper_html =\u003e { :style =\u003e \"display:none;\" } %\u003e\n    \u003c% end %\u003e\n    ...\n  \u003c% end %\u003e\n```\n\nMany inputs provide a collection of options to choose from (like `:select`, `:radio`, `:check_boxes`, `:boolean`). In many cases, Formtastic can find choices through the model associations, but if you want to use your own set of choices, the `:collection` option is what you want.  You can pass in an Array of objects, an array of Strings, a Hash... Throw almost anything at it! Examples:\n\n```ruby\n  f.input :authors, :as =\u003e :check_boxes, :collection =\u003e User.order(\"last_name ASC\").all\n  f.input :authors, :as =\u003e :check_boxes, :collection =\u003e current_user.company.users.active\n  f.input :authors, :as =\u003e :check_boxes, :collection =\u003e [@justin, @kate]\n  f.input :authors, :as =\u003e :check_boxes, :collection =\u003e [\"Justin\", \"Kate\", \"Amelia\", \"Gus\", \"Meg\"]\n  f.input :author,  :as =\u003e :select,      :collection =\u003e Author.all\n  f.input :author,  :as =\u003e :select,      :collection =\u003e Author.pluck(:first_name, :id)\n  f.input :author,  :as =\u003e :select,      :collection =\u003e Author.pluck(Arel.sql(\"CONCAT(`first_name`, ' ', `last_name`)\"), :id)\n  f.input :author,  :as =\u003e :select,      :collection =\u003e Author.your_custom_scope_or_class_method\n  f.input :author,  :as =\u003e :select,      :collection =\u003e { @justin.name =\u003e @justin.id, @kate.name =\u003e @kate.id }\n  f.input :author,  :as =\u003e :select,      :collection =\u003e [\"Justin\", \"Kate\", \"Amelia\", \"Gus\", \"Meg\"]\n  f.input :author,  :as =\u003e :radio,       :collection =\u003e User.all\n  f.input :author,  :as =\u003e :radio,       :collection =\u003e [@justin, @kate]\n  f.input :author,  :as =\u003e :radio,       :collection =\u003e { @justin.name =\u003e @justin.id, @kate.name =\u003e @kate.id }\n  f.input :author,  :as =\u003e :radio,       :collection =\u003e [\"Justin\", \"Kate\", \"Amelia\", \"Gus\", \"Meg\"]\n  f.input :admin,   :as =\u003e :radio,       :collection =\u003e [\"Yes!\", \"No\"]\n  f.input :book_id, :as =\u003e :select,      :collection =\u003e Hash[Book.all.map{|b| [b.name,b.id]}]\n  f.input :fav_book,:as =\u003e :datalist   , :collection =\u003e Book.pluck(:name)\n```\n\n\n## The Available Inputs\n\nThe Formtastic input types:\n\n* `:select` - a select menu. Default for ActiveRecord associations: `belongs_to`, `has_many`, and `has_and_belongs_to_many`.\n* `:check_boxes` - a set of check_box inputs. Alternative to `:select` for ActiveRecord-associations: `has_many`, and has_and_belongs_to_many`.\n* `:radio` - a set of radio inputs. Alternative to `:select` for ActiveRecord-associations: `belongs_to`.\n* `:time_zone` - a select input. Default for column types: `:string` with name matching `\"time_zone\"`.\n* `:password` - a password input. Default for column types: `:string` with name matching `\"password\"`.\n* `:text` - a textarea. Default for column types: `:text`.\n* `:date_select` - a date select. Default for column types: `:date`.\n* `:datetime_select` - a date and time select. Default for column types: `:datetime` and `:timestamp`.\n* `:time_select` - a time select. Default for column types: `:time`.\n* `:boolean` - a checkbox. Default for column types: `:boolean`.\n* `:string` - a text field. Default for column types: `:string`.\n* `:number` - a text field (just like string). Default for  column types: `:integer`, `:float`, and `:decimal`.\n* `:file` - a file field. Default for file-attachment attributes matching: [paperclip](https://github.com/thoughtbot/paperclip) or [attachment_fu](https://github.com/technoweenie/attachment_fu).\n* `:country` - a select menu of country names. Default for column types: `:string` with name `\"country\"` - requires a *country_select* plugin to be installed.\n* `:email` - a text field (just like string). Default for columns with name matching `\"email\"`. New in HTML5. Works on some mobile browsers already.\n* `:url` - a text field (just like string). Default for columns with name matching `\"url\"`. New in HTML5. Works on some mobile browsers already.\n* `:phone` - a text field (just like string). Default for columns with name matching `\"phone\"` or `\"fax\"`. New in HTML5.\n* `:search` - a text field (just like string). Default for columns with name matching `\"search\"`. New in HTML5. Works on Safari.\n* `:hidden` - a hidden field. Creates a hidden field (added for compatibility).\n* `:range` - a slider field.\n* `:datalist` - a text field with a accompanying [datalist tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/datalist) which provides options for autocompletion\n\nThe comments in the code are pretty good for each of these (what it does, what the output is, what the options are, etc.) so go check it out.\n\n\n## Delegation for label lookups\n\nFormtastic decides which label to use in the following order:\n\n```\n  1. :label             # :label =\u003e \"Choose Title\"\n  2. Formtastic i18n    # if either :label =\u003e true || i18n_lookups_by_default = true (see Internationalization)\n  3. Activerecord i18n  # if localization file found for the given attribute\n  4. label_str_method   # if nothing provided this defaults to :humanize but can be set to a custom method\n```\n\n## Internationalization (I18n)\n\n### Basic Localization\n\nFormtastic has some neat I18n-features. ActiveRecord object names and attributes are, by default, taken from calling `@object.human_name` and `@object.human_attribute_name(attr)` respectively. There are a few words specific to Formtastic that can be translated. See `lib/locale/en.yml` for more information.\n\nBasic localization (labels only, with ActiveRecord):\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.inputs do %\u003e\n      \u003c%= f.input :title %\u003e        # =\u003e :label =\u003e I18n.t('activerecord.attributes.user.title')    or 'Title'\n      \u003c%= f.input :body %\u003e         # =\u003e :label =\u003e I18n.t('activerecord.attributes.user.body')     or 'Body'\n      \u003c%= f.input :section %\u003e      # =\u003e :label =\u003e I18n.t('activerecord.attributes.user.section')  or 'Section'\n    \u003c% end %\u003e\n  \u003c% end %\u003e\n```\n\n*Note:* This is perfectly fine if you just want your labels/attributes and/or models to be translated using *ActiveRecord I18n attribute translations*, and you don't use input hints and legends. But what if you do? And what if you don't want same labels in all forms?\n\n### Enhanced Localization (Formtastic I18n API)\n\nFormtastic supports localized *labels*, *hints*, *legends*, *actions* using the I18n API for more advanced usage. Your forms can now be DRYer and more flexible than ever, and still fully localized. This is how:\n\n*1. Enable I18n lookups by default (`config/initializers/formtastic.rb`):*\n\n```ruby\n  Formtastic::FormBuilder.i18n_lookups_by_default = true\n```\n\n*2. Add some label-translations/variants (`config/locales/en.yml`):*\n\n```yml\n  en:\n    formtastic:\n      titles:\n        post_details: \"Post details\"\n      labels:\n        post:\n          title: \"Your Title\"\n          body: \"Write something...\"\n          edit:\n            title: \"Edit title\"\n      hints:\n        post:\n          title: \"Choose a good title for your post.\"\n          body: \"Write something inspiring here.\"\n      placeholders:\n        post:\n          title: \"Title your post\"\n          slug: \"Leave blank for an automatically generated slug\"\n        user:\n          email: \"you@yours.com\"\n      actions:\n        create: \"Create my %{model}\"\n        update: \"Save changes\"\n        reset: \"Reset form\"\n        cancel: \"Cancel and go back\"\n        dummie: \"Launch!\"\n```\n\n*3. ...and now you'll get:*\n\n```erb\n  \u003c%= semantic_form_for Post.new do |f| %\u003e\n    \u003c%= f.inputs do %\u003e\n      \u003c%= f.input :title %\u003e      # =\u003e :label =\u003e \"Choose a title...\", :hint =\u003e \"Choose a good title for your post.\"\n      \u003c%= f.input :body %\u003e       # =\u003e :label =\u003e \"Write something...\", :hint =\u003e \"Write something inspiring here.\"\n      \u003c%= f.input :section %\u003e    # =\u003e :label =\u003e I18n.t('activerecord.attributes.user.section')  or 'Section'\n    \u003c% end %\u003e\n    \u003c%= f.actions do %\u003e\n      \u003c%= f.action :submit %\u003e   # =\u003e \"Create my %{model}\"\n    \u003c% end %\u003e\n  \u003c% end %\u003e\n```\n\n*4. Localized titles (a.k.a. legends):*\n\n_Note: Slightly different because Formtastic can't guess how you group fields in a form. Legend text can be set with first (as in the sample below) specified value, or :name/:title options - depending on what flavor is preferred._\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.inputs :post_details do %\u003e   # =\u003e :title =\u003e \"Post details\"\n      # ...\n    \u003c% end %\u003e\n    # ...\n\u003c% end %\u003e\n```\n\n*5. Override I18n settings:*\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.inputs do %\u003e\n      \u003c%= f.input :title %\u003e      # =\u003e :label =\u003e \"Choose a title...\", :hint =\u003e \"Choose a good title for your post.\"\n      \u003c%= f.input :body, :hint =\u003e false %\u003e                 # =\u003e :label =\u003e \"Write something...\"\n      \u003c%= f.input :section, :label =\u003e 'Some section' %\u003e    # =\u003e :label =\u003e 'Some section'\n    \u003c% end %\u003e\n    \u003c%= f.actions do %\u003e\n      \u003c%= f.action :submit, :label =\u003e :dummie %\u003e         # =\u003e \"Launch!\"\n    \u003c% end %\u003e\n  \u003c% end %\u003e\n```\n\nIf I18n-lookups is disabled, i.e.:\n\n```ruby\n  Formtastic::FormBuilder.i18n_lookups_by_default = false\n```\n\n...then you can enable I18n within the forms instead:\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.inputs do %\u003e\n      \u003c%= f.input :title, :label =\u003e true %\u003e      # =\u003e :label =\u003e \"Choose a title...\"\n      \u003c%= f.input :body, :label =\u003e true %\u003e       # =\u003e :label =\u003e \"Write something...\"\n      \u003c%= f.input :section, :label =\u003e true %\u003e    # =\u003e :label =\u003e I18n.t('activerecord.attributes.user.section')  or 'Section'\n    \u003c% end %\u003e\n    \u003c%= f.actions do %\u003e\n      \u003c%= f.action :submit, :label =\u003e true %\u003e    # =\u003e \"Update %{model}\" (if we are in edit that is...)\n    \u003c% end %\u003e\n  \u003c% end %\u003e\n```\n\n*6. Advanced I18n lookups*\n\nFor more flexible forms; Formtastic finds translations using a bottom-up approach taking the following variables in account:\n\n* `MODEL`, e.g. \"post\"\n* `ACTION`, e.g. \"edit\"\n* `KEY/ATTRIBUTE`, e.g. \"title\", :my_custom_key, ...\n\n...in the following order:\n\n1. `formtastic.{titles,labels,hints,actions}.MODEL.ACTION.ATTRIBUTE` - by model and action\n2. `formtastic.{titles,labels,hints,actions}.MODEL.ATTRIBUTE` - by model\n3. `formtastic.{titles,labels,hints,actions}.ATTRIBUTE` - global default\n\n...which means that you can define translations like this:\n\n```yml\n  en:\n    formtastic:\n      labels:\n        title: \"Title\"  # Default global value\n        article:\n          body: \"Article content\"\n        post:\n          new:\n            title: \"Choose a title...\"\n            body: \"Write something...\"\n          edit:\n            title: \"Edit title\"\n            body: \"Edit body\"\n```\n\nValues for `labels`/`hints`/`actions` are can take values: `String` (explicit value), `Symbol` (i18n-lookup-key relative to the current \"type\", e.g. actions:), `true` (force I18n lookup), `false` (force no I18n lookup). Titles (legends) can only take: `String` and `Symbol` - true/false have no meaning.\n\n*7. Basic Translations*\nIf you want some basic translations, take a look on the [formtastic_i18n gem](https://github.com/formtastic/formtastic_i18n).\n\n## Semantic errors\n\nYou can show errors on base (by default) and any other attribute just by passing its name to the semantic_errors method:\n\n```erb\n  \u003c%= semantic_form_for @post do |f| %\u003e\n    \u003c%= f.semantic_errors :state %\u003e\n  \u003c% end %\u003e\n```\n\n\n## Modified \u0026 Custom Inputs\n\nYou can modify existing inputs, subclass them, or create your own from scratch. Here's the basic process:\n\n* Run the input generator and provide your custom input name. For example, `rails generate formtastic:input hat_size`. This creates the file `app/inputs/hat_size_input.rb`. You can also provide namespace to input name like `rails generate formtastic:input foo/custom` or `rails generate formtastic:input Foo::Custom`, this will create the file `app/inputs/foo/custom_input.rb` in both cases.\n* To use that input, leave off the word \"input\" in your `as` statement. For example, `f.input(:size, :as =\u003e :hat_size)`\n\nSpecific examples follow.\n\n### Changing Existing Input Behavior\n\nTo modify the behavior of `StringInput`, subclass it in a new file, `app/inputs/string_input.rb`:\n\n```ruby\n  class StringInput \u003c Formtastic::Inputs::StringInput\n    def to_html\n      puts \"this is my modified version of StringInput\"\n      super\n    end\n  end\n```\n\nAnother way to modify behavior is by using the input generator:\n```shell\n$ rails generate formtastic:input string --extend\n```\n\nThis generates the file `app/inputs/string_input.rb` with its respective content class.\n\nYou can use your modified version with `:as =\u003e :string`.\n\n### Creating New Inputs Based on Existing Ones\n\nTo create your own new types of inputs based on existing inputs, the process is similar. For example, to create `FlexibleTextInput` based on `StringInput`, put the following in `app/inputs/flexible_text_input.rb`:\n\n```ruby\n  class FlexibleTextInput \u003c Formtastic::Inputs::StringInput\n    def input_html_options\n      super.merge(:class =\u003e \"flexible-text-area\")\n    end\n\n    def options\n      super.merge(hint: 'This is a flexible text area')\n    end\n  end\n```\n\nYou can also extend existing input behavior by using the input generator:\n\n```shell\n$ rails generate formtastic:input FlexibleText --extend string\n```\n\nThis generates the file `app/inputs/flexible_text_input.rb` with its respective content class.\n\nYou can use your new input with `:as =\u003e :flexible_text`.\n\n### Creating New Inputs From Scratch\n\nTo create a custom `DatePickerInput` from scratch, put the following in `app/inputs/date_picker_input.rb`:\n\n```ruby\n  class DatePickerInput\n    include Formtastic::Inputs::Base\n    def to_html\n      # ...\n    end\n  end\n```\n\nYou can use your new input with `:as =\u003e :date_picker`.\n\n\n## Dependencies\n\nThere are none other than Rails itself, but...\n\n* If you want to use the `:country` input, you'll need to install the [country-select plugin](https://github.com/countries/country_select) (or any other country_select plugin with the same API).\n* There are a bunch of development dependencies if you plan to contribute to Formtastic\n\n\n## How to contribute\n\nSee `CONTRIBUTING.md`\n\n\n## Project Info\n\nFormtastic was created by [Justin French](https://justinfrench.com) with contributions from around 180 awesome developers. Run `git shortlog -n -s` to see the awesome.\n\nThe project is hosted on Github: [https://github.com/formtastic/formtastic](https://github.com/formtastic/formtastic), where your contributions, forkings, comments, issues and feedback are greatly welcomed.\n\nCopyright (c) 2007-2025, released under the MIT license.\n\n","funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["activerecord","mvc","activejob","rubygems","rspec","rack","devise","grape","authorization","sidekiq"],"project_url":"https://ruby.ecosyste.ms/api/v1/projects/208","html_url":"https://ruby.ecosyste.ms/projects/208"}