Sha256: 35bcef506fd79c78d7c3cdbaeee857679cffd8f5412a3ee25f7a269d1a25ef01

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 Bytes

Contents

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
omniauth-infinum-0.11.1 examples/devise_and_omniauth_infinum/app/views/pages/_form.html.slim
omniauth-infinum-0.10.0 examples/devise_and_omniauth_infinum/app/views/pages/_form.html.slim
omniauth-infinum-0.10.1 examples/devise_and_omniauth_infinum/app/views/pages/_form.html.slim