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