engine/app/views/admin/shared/_form_actions.html.haml
2010-05-12 02:16:39 +02:00

15 lines
377 B
Plaintext

.actions
.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