-# Example form = simple_form_for @some_model do |f| -# Show error notification at top (general error text) = f.error_notification -# Show base errors at top = f.error_notification message: (f.error :base) if f.object.errors[:base].present? -# Regular input = f.input :name, autofocus: true -# Select input referencing other model = f.association :other_model -# Checkbox = f.input :remember_me, as: :boolean .buttons = f.submit 'Save', class: 'button is-primary' = yield