Form Core
A Rails engine providing ability to generate dynamic form.
Requirements
0.1 branch
- MRI 2.5+
- Rails 6.0+
0.0.1 branch
- MRI 2.3+
- Rails 5.0+
Usage
See demo for now.
Installation
Add this line to your Gemfile:
gem 'form_core'Or you may want to include the gem directly from GitHub:
gem 'form_core', github: 'rails-engine/form_core'And then execute:
$ bundleCopy migrations
$ bin/rails form_core:install:migrationsThen do migrate
$ bin/rails db:migrateDemo
Clone the repository.
$ git clone https://github.com/rails-engine/form_core.gitChange directory
$ cd form_coreRun bundler
$ bundle installPreparing database
$ bin/rails db:migrateStart the Rails server
$ bin/rails sOpen your browser, and visit http://localhost:3000
Contributing
Bug report or pull request are welcome.
Make a pull request
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Please write unit test with your code if necessary.
License
The gem is available as open source under the terms of the MIT License.