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

14 lines
330 B
Plaintext

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