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.59 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.58 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.57 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.56 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.55 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.54 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.53 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.52 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.51 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.50 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.49 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.48 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.47 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.46 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.45 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.44 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.43.a lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.43 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.42 lib/templates/erb/scaffold/_form.html.haml
five-two-nw-olivander-0.1.2.41 lib/templates/erb/scaffold/_form.html.haml