merged/app/views/merged/sections/_form.html.haml
2022-11-29 12:07:10 +02:00

11 lines
338 B
Plaintext

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