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.20 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.19 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.18 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.17 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.16 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.15 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.14 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.13 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.12 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.11 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.10 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.9 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.8 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.7 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.6 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.5 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.4 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.3 lib/templates/erb/scaffold/_form.html.haml