5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 22:26:22 +00:00

fix: no mostrar un título

This commit is contained in:
f 2023-03-29 16:43:11 -03:00
parent 40dfa65bc2
commit 951a045745

View file

@ -1,8 +1,4 @@
- if resource.errors.any? - if resource.errors.any?
= render 'bootstrap/alert' do = render 'bootstrap/alert' do
%h4.alert-heading
= I18n.t("errors.messages.not_saved", |
count: resource.errors.count, |
resource: resource.class.model_name.human.downcase) |
- resource.errors.full_messages.each do |message| - resource.errors.full_messages.each do |message|
%p= message %p= message