11 lines
298 B
Plaintext
11 lines
298 B
Plaintext
= form_for @kantum do |f|
|
|
- if @kantum.errors.any?
|
|
#error_explanation
|
|
%h2= "#{pluralize(@kantum.errors.count, "error")} prohibited this kantum from being saved:"
|
|
%ul
|
|
- @kantum.errors.full_messages.each do |message|
|
|
%li= message
|
|
|
|
.actions
|
|
= f.submit 'Save'
|