volunteers/app/views/kanta/_form.html.haml
2023-02-05 16:18:18 +02:00

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'