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