Sha256: 8b964a2aab9e222b24a056ce675beb648ac694b9303deb596fd1daafb6a23c28

Contents?: true

Size: 414 Bytes

Versions: 16

Compression:

Stored size: 414 Bytes

Contents

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
works_cited-0.1.16 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.15 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.14 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.13 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.11 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.10 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.9 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.8 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.7 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.6 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.5 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.4 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.3 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.2 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.1 spec/dummy/app/views/things/_form.html.haml
works_cited-0.1.0 spec/dummy/app/views/things/_form.html.haml