From 7d271f3bde4d110cb061d7a9ae42c2a2c41fdcfe Mon Sep 17 00:00:00 2001 From: f Date: Thu, 8 Feb 2018 17:54:34 -0300 Subject: [PATCH] boton de guardar tambien al final --- app/views/posts/_form.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/posts/_form.haml b/app/views/posts/_form.haml index 2e36e23..8bbf714 100644 --- a/app/views/posts/_form.haml +++ b/app/views/posts/_form.haml @@ -110,6 +110,8 @@ = text_field 'post', "lang[#{lang}]", value: @post.get_front_matter(:lang).dig(lang), class: 'form-control' %small.text-muted.form-text= t('posts.lang_help') + .form-group + = submit_tag t('posts.save'), class: 'btn btn-success' :javascript $(document).on('turbolinks:load', function() {