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.2.0.40 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.39 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.38 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.37 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.36 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.35 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.34 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.33 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.32 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.31 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.30 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.29 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.28 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.27 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.26 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.25 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.24 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.23 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.22 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.2.0.19 lib/templates/erb/scaffold/_form.html.haml