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

15 lines
377 B
Plaintext
Raw Normal View History

2010-04-25 00:33:38 +00:00
.actions
.span-12
%p
- if defined?(back_url)
= link_to escape_once('← ') + t('.back'), back_url
2010-05-12 00:16:39 +00:00
- elsif defined?(delete_button)
= delete_button
 
2010-04-25 00:33:38 +00:00
.span-12.last
%p
%button.button.light{ :type => 'submit' }
%span= button_label.is_a?(Symbol) ? t(".#{button_label}") : button_label
.clear