5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 16:56:22 +00:00
panel/app/views/posts/_submit.haml

12 lines
443 B
Text
Raw Permalink Normal View History

.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]'
.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'))