Sha256: f40be17f9de1b039d99baa8292c9e1a2486812e3b5f50a88a7e9fee5ef7c3973
Contents?: true
Size: 332 Bytes
Versions: 98
Compression:
Stored size: 332 Bytes
Contents
= simple_form_for(@resource) do |f| =f.error_notification} =f.error_notification message: f.object.errors[:base].to_sentence if f.object.errors[:base].present?} .form-inputs - attributes.each do |attribute| = f.send(attribute.reference? ? :association : :input, attribute.name) .form-actions = f.button :submit
Version data entries
98 entries across 98 versions & 1 rubygems