{"id":19474554,"url":"https://github.com/tomasc/simple_form_localized_input","last_synced_at":"2026-06-17T11:31:09.774Z","repository":{"id":18434218,"uuid":"21620839","full_name":"tomasc/simple_form_localized_input","owner":"tomasc","description":"Custom input for Simple Form that renders Mongoid fields for multiple locales.","archived":false,"fork":false,"pushed_at":"2025-10-22T08:20:12.000Z","size":25,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-22T10:20:01.710Z","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/tomasc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"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}},"created_at":"2014-07-08T16:41:13.000Z","updated_at":"2025-10-22T08:20:14.000Z","dependencies_parsed_at":"2024-11-10T19:25:41.456Z","dependency_job_id":"05663e4c-2a32-41af-998a-ee3011e2827a","html_url":"https://github.com/tomasc/simple_form_localized_input","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/tomasc/simple_form_localized_input","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fsimple_form_localized_input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fsimple_form_localized_input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fsimple_form_localized_input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fsimple_form_localized_input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomasc","download_url":"https://codeload.github.com/tomasc/simple_form_localized_input/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fsimple_form_localized_input/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34447264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-10T19:25:37.452Z","updated_at":"2026-06-17T11:31:09.756Z","avatar_url":"https://github.com/tomasc.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Form Localized Input\n\n[![Build Status](https://travis-ci.org/tomasc/simple_form_localized_input.svg)](https://travis-ci.org/tomasc/simple_form_localized_input) [![Gem Version](https://badge.fury.io/rb/simple_form_localized_input.svg)](http://badge.fury.io/rb/simple_form_localized_input) [![Coverage Status](https://img.shields.io/coveralls/tomasc/simple_form_localized_input.svg)](https://coveralls.io/r/tomasc/simple_form_localized_input)\n\n[Simple Form](https://github.com/plataformatec/simple_form) custom input which renders a field for multiple locales in one form. Designed to be used with [Mongoid](https://github.com/mongoid/mongoid).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'simple_form_localized_input'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install simple_form_localized_input\n\n## Usage\n\nIn your model:\n\n```Ruby\nclass MyModel\n  include Mongoid::Document\n  field :title, type: String, localize: true\nend\n```\n\nIn your simple form:\n\n```Ruby\n= form.localized_input :title\n```\n\nThis works with inputs of various types, and you can pass options to an input as usual.\n\n## Contributing\n\n1. Fork it ( https://github.com/tomasc/simple_form_localized_input/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasc%2Fsimple_form_localized_input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomasc%2Fsimple_form_localized_input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasc%2Fsimple_form_localized_input/lists"}