5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 08:41:42 +00:00

Merge branch 'issue-13034' into 'rails'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

fix: al usar alert tenemos que cambiar i18n #13034

See merge request sutty/sutty!155
This commit is contained in:
fauno 2023-04-17 16:32:17 +00:00
commit f2845a4c78

View file

@ -1,6 +1,8 @@
- invalid_help = site.config.fetch('invalid_help', t('.invalid_help'))
- sending_help = site.config.fetch('sending_help', t('.sending_help'))
.form-group .form-group
= submit_tag t('.save'), class: 'btn submit-post' = submit_tag t('.save'), class: 'btn submit-post'
= render 'bootstrap/alert', class: 'invalid-help d-none' do = render 'bootstrap/alert', class: 'invalid-help d-none' do
= site.config.fetch('invalid_help', t('.invalid_help')) = invalid_help
= render 'bootstrap/alert', class: 'sending-help d-none' do = render 'bootstrap/alert', class: 'sending-help d-none' do
= site.config.fetch('sending_help', t('.sending_help')) = sending_help