Sha256: bb3f3e48dd3b2c02e27bb7b298acc13c900a374cbce8d97d1e4bfc6e1f9df532

Contents?: true

Size: 302 Bytes

Versions: 2

Compression:

Stored size: 302 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

2 entries across 2 versions & 1 rubygems

Version Path
serializer-0.0.9 test/dummy/app/views/users/_form.html.haml
serializer-0.0.8 test/dummy/app/views/users/_form.html.haml