5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-25 18:46:21 +00:00
panel/app/views/posts/_submit.haml
f 8457a07664
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: al usar alert tenemos que cambiar i18n #13034
2023-04-11 17:49:45 -03:00

8 lines
368 B
Text

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