- thing ||= @thing

= form_for thing do |f|
  = f.text_field :name, placeholder: 'Name'
  = f.number_field :quantity, placeholder: 'Quantity'
  = f.submit
- thing ||= @thing

= bootstrap_form_for thing do |f|
  = f.alert_message 'Please fix the issues below.'
  = f.text_field :name, placeholder: 'Name', required: true
  = f.number_field :quantity, placeholder: 'Quantity', required: true
  = f.submit
Switch view to bootstrap form gem
Switch view to bootstrap form gem
