blue workbench

Ruby and Rails

【Rails】Simple Formを導入する



gem 'simple_form'
$ bundle install
$ rails g simple_form:install
Running via Spring preloader in process 2486
SimpleForm 3 supports Bootstrap and Zurb Foundation 5. If you want a configuration that is compatible with one of these frameworks, then please re-run this generator with --bootstrap or --foundation as an option.
      create  config/initializers/simple_form.rb
       exist  config/locales
      create  config/locales/simple_form.en.yml
      create  lib/templates/haml/scaffold/_form.html.haml