Sha256: 83a0026b41ff90fcf31686187a2043cbf237ced22803f48813cc43b5d08372af

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

= form_for(user) do |f|
  - if user.errors.any?
    %p
      = pluralize(user.errors.count, "error")
      prohibited this user from being saved:
    %ul
      - user.errors.each do |attribute, message|
        %li= "#{attribute} : #{message}"
  = render 'fields', :f => f
  .actions
    = f.submit

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
serializer-1.0.2 test/dummy/app/views/users/_form.html.haml
serializer-1.0.1 test/dummy/app/views/users/_form.html.haml
serializer-1.0.0 test/dummy/app/views/users/_form.html.haml