{"id":21680139,"url":"https://github.com/lab2023/blankable","last_synced_at":"2025-04-12T06:22:54.681Z","repository":{"id":9974744,"uuid":"12001111","full_name":"lab2023/blankable","owner":"lab2023","description":"Adds blank slates to index view","archived":false,"fork":false,"pushed_at":"2015-08-30T12:06:50.000Z","size":188,"stargazers_count":8,"open_issues_count":3,"forks_count":0,"subscribers_count":14,"default_branch":"develop","last_synced_at":"2024-03-23T02:34:19.117Z","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/lab2023.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-09T13:08:26.000Z","updated_at":"2019-06-21T12:54:39.000Z","dependencies_parsed_at":"2022-09-02T16:59:13.714Z","dependency_job_id":null,"html_url":"https://github.com/lab2023/blankable","commit_stats":null,"previous_names":["kebab-project/blankable"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab2023%2Fblankable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab2023%2Fblankable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab2023%2Fblankable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab2023%2Fblankable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lab2023","download_url":"https://codeload.github.com/lab2023/blankable/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248526003,"owners_count":21118785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-25T15:14:41.578Z","updated_at":"2025-04-12T06:22:54.652Z","avatar_url":"https://github.com/lab2023.png","language":"Ruby","funding_links":[],"categories":["WebSocket"],"sub_categories":[],"readme":"# Blankable\n\nAdds blank slates to index view\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'blankable'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install blankable\n\n## Usage\n\n```ruby\n# Customers Controller\nclass CustomersController \u003c ApplicationController\n  def index\n    @customers = Customer.all\n    respond_with(@customers)\n  end\nend\n```\n\n```haml\n# views/customers/_list.html.haml\n%table\n  %tr\n    %th Name\n    %th Business Phone\n    %th Mobile Phone\n    %th Address\n\n\n  - @customers.each do |customer|\n    %tr\n      %td= customer.name\n      %td= customer.business_phone\n      %td= customer.mobile_phone\n      %td= customer.address\n```\n\n```haml\n# views/customers/_blank.html.haml\n = link_to 'Add your first customer', new_customer_path\n```\n\n```haml\n# views/customers/index.html.haml\n= blankable @customers\n```\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\n## Credits\n\n![lab2023](http://lab2023.com/assets/images/named-logo.png)\n\n- Blankable is maintained and funded by [lab2023 - information technologies](http://lab2023.com/)\n- Thank you to all the [contributors!](../../graphs/contributors)\n- The names and logos for lab2023 are trademarks of lab2023, inc.\n\n## License\n\nCopyright 2014 lab2023 – information technologies\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab2023%2Fblankable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flab2023%2Fblankable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab2023%2Fblankable/lists"}