【文件属性】:
文件名称:simple_form_bootstrap3:带有 simple_form 和 bootstrap3 的 Rails 表单生成器
文件大小:102KB
文件格式:ZIP
更新时间:2021-06-19 21:52:30
Ruby
带有 simple_form 和 bootstrap3 的 Rails 表单生成器
安装
将此行添加到应用程序的 Gemfile 中:
gem 'simple_form_bootstrap3'
或这一行:
gem 'simple_form_bootstrap3', git: 'https://github.com/kolodovskyy/simple_form_bootstrap3.git'
然后执行:
$ bundle
或者自己安装:
$ gem install simple_form_bootstrap3
请参阅以配置 bootstrap gem。
添加到 application.css:
*= require bootstrap-datepicker
*= require bootstrap-datetimepicker
添加到 application.js: