5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 21:46:22 +00:00
panel/app/views/posts/_submit.haml
2019-09-12 13:55:20 -03:00

11 lines
443 B
Text

.form-group
= submit_tag t('.save'), class: 'btn submit-post'
-# Permitir guardar como borrador
- if post.attributes.include? :draft
= submit_tag t('.save_draft'),
class: 'btn submit-post-draft',
name: 'post[draft]'
.invalid_help.alert.alert-danger.d-none
= site.config.fetch('invalid_help', t('.invalid_help'))
.sending_help.alert.alert-success.d-none
= site.config.fetch('sending_help', t('.sending_help'))