Sha256: 201f0111d99a4031d0eb8c97cde6b31298e825f66f45c5f24be0e33af32d9169

Contents?: true

Size: 444 Bytes

Versions: 26

Compression:

Stored size: 444 Bytes

Contents

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

  .field
    = f.label :title
    = f.text_field :title
  .field
    = f.label :body
    = f.text_field :body
  .field
    = f.label :author
    = f.text_field :author
  .actions = f.submit

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
sapience-1.0.11 test_apps/rails/app/views/posts/_form.html.slim
sapience-1.0.10 test_apps/rails/app/views/posts/_form.html.slim
sapience-1.0.9 test_apps/rails/app/views/posts/_form.html.slim
sapience-1.0.8 test_apps/rails/app/views/posts/_form.html.slim
sapience-1.0.7 test_apps/rails/app/views/posts/_form.html.slim
sapience-1.0.6 test_apps/rails/app/views/posts/_form.html.slim
sapience-1.0.5 test_apps/rails/app/views/posts/_form.html.slim
sapience-1.0.4 test_apps/rails/app/views/posts/_form.html.slim
sapience-1.0.3 test_apps/rails/app/views/posts/_form.html.slim
sapience-1.0.2 test_apps/rails/app/views/posts/_form.html.slim
sapience-1.0.1 test_apps/rails/app/views/posts/_form.html.slim
sapience-1.0.0 test_apps/rails/app/views/posts/_form.html.slim
sapience-0.2.18 test_apps/rails/app/views/posts/_form.html.slim
sapience-0.2.17 test_apps/rails/app/views/posts/_form.html.slim
sapience-0.2.16 test_apps/rails/app/views/posts/_form.html.slim
sapience-0.2.15 test_apps/rails/app/views/posts/_form.html.slim
sapience-0.2.14 test_apps/rails/app/views/posts/_form.html.slim
sapience-0.2.13 test_apps/rails/app/views/posts/_form.html.slim
sapience-0.2.12 test_apps/rails/app/views/posts/_form.html.slim
sapience-0.2.11 test_apps/rails/app/views/posts/_form.html.slim