{"id":15509809,"url":"https://github.com/smortex/twitter_bootstrap_combo","last_synced_at":"2026-02-15T07:35:54.386Z","repository":{"id":59158340,"uuid":"7918439","full_name":"smortex/twitter_bootstrap_combo","owner":"smortex","description":"Advanced combo-box using Twitter-Bootstrap","archived":false,"fork":false,"pushed_at":"2024-06-18T18:18:03.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-05T23:56:25.347Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"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/smortex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2013-01-30T16:26:44.000Z","updated_at":"2020-10-06T18:55:29.000Z","dependencies_parsed_at":"2025-02-17T05:43:23.267Z","dependency_job_id":"99a07d45-78f3-42a8-a2b7-fd1bdb2ac335","html_url":"https://github.com/smortex/twitter_bootstrap_combo","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/smortex/twitter_bootstrap_combo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Ftwitter_bootstrap_combo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Ftwitter_bootstrap_combo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Ftwitter_bootstrap_combo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Ftwitter_bootstrap_combo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smortex","download_url":"https://codeload.github.com/smortex/twitter_bootstrap_combo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Ftwitter_bootstrap_combo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29472883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T06:58:05.414Z","status":"ssl_error","status_checked_at":"2026-02-15T06:58:05.085Z","response_time":118,"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":["hacktoberfest"],"created_at":"2024-10-02T09:44:07.057Z","updated_at":"2026-02-15T07:35:54.369Z","avatar_url":"https://github.com/smortex.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TwitterBootstrapCombo\n\nAdvanced combo-box using Twitter-Bootstrap\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'twitter_bootstrap_combo'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install twitter_bootstrap_combo\n\n## Usage\n\nAdd this line to `app/assets/javascripts/application.js`:\n\n~~~js\n//= twitter_bootstrap_combo\n~~~\n\nThen in your views, use:\n\n~~~erb\n\u003c%= combo_box(:calendar, :parent_id, Calendar.all.collect { |c| [ (content_tag(:i, \"\", :class =\u003e \"fa fa-angle-right fa-fw\") * c.level + c.name).html_safe, c.id ] }, :include_blank =\u003e true) %\u003e\n~~~\n\nto produce:\n\n~~~html\n\u003cinput id=\"calendar_parent_id\" name=\"calendar[parent_id]\" type=\"hidden\" value=\"6\" /\u003e\u003cdiv class=\"btn-group\"\u003e\u003ca href=\"#\" class=\"btn dropdown-toggle\" data-toggle=\"dropdown\"\u003e\u003cspan class=\"combo_box_text\"\u003eChild 1\u003c/span\u003e \u003ci class=\"fa fa-caret-down\"\u003e\u003c/i\u003e\u003c/a\u003e\u003cul class=\"dropdown-menu\" data-for=\"calendar_parent_id\"\u003e\u003cli class=\"\"\u003e\u003ca href=\"#\" class=\"combo_box_item\"\u003e(None)\u003c/a\u003e\u003c/li\u003e\u003cli class=\"\"\u003e\u003ca href=\"#\" class=\"combo_box_item\" data-value=\"5\"\u003eRoot\u003c/a\u003e\u003c/li\u003e\u003cli class=\"active\"\u003e\u003ca href=\"#\" class=\"combo_box_item\" data-value=\"6\"\u003e\u003ci class=\"fa fa-angle-right fa-fw\"\u003e\u003c/i\u003eChild 1\u003c/a\u003e\u003c/li\u003e\u003cli class=\"\"\u003e\u003ca href=\"#\" class=\"combo_box_item\" data-value=\"8\"\u003e\u003ci class=\"fa fa-angle-right fa-fw\"\u003e\u003c/i\u003e\u003ci class=\"fa fa-angle-right fa-fw\"\u003e\u003c/i\u003eSubChild 1\u003c/a\u003e\u003c/li\u003e\u003cli class=\"\"\u003e\u003ca href=\"#\" class=\"combo_box_item\" data-value=\"9\"\u003e\u003ci class=\"fa fa-angle-right fa-fw\"\u003e\u003c/i\u003e\u003ci class=\"fa fa-angle-right fa-fw\"\u003e\u003c/i\u003eSubChild 2\u003c/a\u003e\u003c/li\u003e\u003cli class=\"\"\u003e\u003ca href=\"#\" class=\"combo_box_item\" data-value=\"7\"\u003e\u003ci class=\"fa fa-angle-right fa-fw\"\u003e\u003c/i\u003eChild 2\u003c/a\u003e\u003c/li\u003e\u003c/ul\u003e\u003c/div\u003e\n~~~\n\nwhich render like this:\n\n![combo-closed](http://img11.hostingpics.net/pics/892421comboboxclosed.png)\n\n![combo-opened](http://img11.hostingpics.net/pics/781716comboboxopened.png)\n\n## Contributing\n\n1. Fork it\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 new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmortex%2Ftwitter_bootstrap_combo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmortex%2Ftwitter_bootstrap_combo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmortex%2Ftwitter_bootstrap_combo/lists"}