diff --git a/templates/content/_buttons.html.twig b/templates/content/_buttons.html.twig index 8f69ca08..3b4e9a91 100644 --- a/templates/content/_buttons.html.twig +++ b/templates/content/_buttons.html.twig @@ -1,7 +1,6 @@ {% import '@bolt/_macro/_macro.html.twig' as macro %} -
- +
{{ macro.button('action.save', 'fa-save', 'success', {'type': 'submit', 'form': 'editcontent', 'data-patience': 'virtue'}) }} {% if record.id %} diff --git a/templates/content/edit.html.twig b/templates/content/edit.html.twig index e44e23b2..191e8299 100644 --- a/templates/content/edit.html.twig +++ b/templates/content/edit.html.twig @@ -57,7 +57,7 @@

- {% include '@bolt/content/_buttons.html.twig' %} + {% include '@bolt/content/_buttons.html.twig' with {'hide_on_mobile': true} %} @@ -73,7 +73,7 @@ {{ macro.icon('star') }} {{ 'title.primary_actions'|trans }}
- {% include '@bolt/content/_buttons.html.twig' with {'status': true} %} + {% include '@bolt/content/_buttons.html.twig' with {'status': true} %}