Sha256: 3286a0bf727e32c8feefda81882fa50dd7cc544ad084db45e2cb94875d4ec0b5
Contents?: true
Size: 594 Bytes
Versions: 5
Compression:
Stored size: 594 Bytes
Contents
= form_for @version do |f| - if @version.errors.any? #error_explanation %h2= "#{pluralize(@version.errors.count, "error")} prohibited this version from being saved:" %ul - @version.errors.full_messages.each do |msg| %li= msg .field = f.label :item_type = f.text_field :item_type .field = f.label :item_id = f.text_field :item_id .field = f.label :event = f.text_field :event .field = f.label :whodunit = f.text_field :whodunit .field = f.label :object = f.text_area :object .actions = f.submit 'Save'
Version data entries
5 entries across 5 versions & 1 rubygems