engine/app/views/admin/shared/_form_actions.html.haml
2010-07-23 16:57:38 -07:00

15 lines
363 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