mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 22:46:23 +00:00
fix: no mostrar un título
This commit is contained in:
parent
40dfa65bc2
commit
951a045745
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue