Sha256: 6a875d775dc89c06417d4fbd870fa843fe81255532e690c550ef0b59899c9fdb

Contents?: true

Size: 402 Bytes

Versions: 9

Compression:

Stored size: 402 Bytes

Contents

= form_for @doo_dad do |f|
  - if @doo_dad.errors.any?
    #error_explanation
      %h2= "#{pluralize(@doo_dad.errors.count, "error")} prohibited this doo_dad from being saved:"
      %ul
        - @doo_dad.errors.full_messages.each do |msg|
          %li= msg

  .field
    = f.label :name
    = f.text_field :name
  .field
    = f.label :body
    = f.text_area :body
  .actions
    = f.submit 'Save'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bootstrap_leather-0.10.13 spec/dummy/app/views/doo_dads/_form.html.haml
bootstrap_leather-0.10.11 spec/dummy/app/views/doo_dads/_form.html.haml
bootstrap_leather-0.10.10 spec/dummy/app/views/doo_dads/_form.html.haml
bootstrap_leather-0.10.9 spec/dummy/app/views/doo_dads/_form.html.haml
bootstrap_leather-0.10.8 spec/dummy/app/views/doo_dads/_form.html.haml
bootstrap_leather-0.10.7 spec/dummy/app/views/doo_dads/_form.html.haml
bootstrap_leather-0.10.6 spec/dummy/app/views/doo_dads/_form.html.haml
bootstrap_leather-0.10.5 spec/dummy/app/views/doo_dads/_form.html.haml
bootstrap_leather-0.10.4 spec/dummy/app/views/doo_dads/_form.html.haml