5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 20:26:22 +00:00
panel/app/views/posts/_submit.haml
2019-08-20 19:11:10 -03:00

11 lines
464 B
Text

.form-group
= submit_tag t('.save'), class: 'btn btn-success submit-post'
-# Permitir guardar como borrador
- if post.attributes.include? :draft
= submit_tag t('.save_draft'),
class: 'btn btn-info 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'))