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