2019-08-13 19:09:23 +00:00
|
|
|
.form-group
|
2019-09-12 16:55:20 +00:00
|
|
|
= submit_tag t('.save'), class: 'btn submit-post'
|
2019-08-20 22:11:10 +00:00
|
|
|
-# Permitir guardar como borrador
|
|
|
|
- if post.attributes.include? :draft
|
|
|
|
= submit_tag t('.save_draft'),
|
2019-09-12 16:55:20 +00:00
|
|
|
class: 'btn submit-post-draft',
|
2019-08-20 22:11:10 +00:00
|
|
|
name: 'post[draft]'
|
2019-08-13 19:09:23 +00:00
|
|
|
.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'))
|