engine/app/views/locomotive/shared/_form_actions.html.haml

15 lines
380 B
Plaintext

#local-actions-bottom-bar
.span-12
%p
- if defined?(back_url)
= link_to escape_once('← ') + t('.back'), back_url
- elsif defined?(delete_button)
= delete_button
 
.span-12.last
%p
%button.button.light{ :type => 'submit' }
%span= button_label.is_a?(Symbol) ? t(".#{button_label}") : button_label
.clear