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

Version Path
five-two-nw-olivander-0.1.2.40 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.39 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.38 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.37 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.36 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.35 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.34 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.33 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.32 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.31 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.30 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.29 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.28 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.27 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.26 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.25 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.24 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.23 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.22 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.21 lib/templates/erb/scaffold/_form.html.haml