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

14 lines
444 B
Plaintext
Raw Normal View History

#local-actions-bottom-bar
2010-04-25 00:33:38 +00:00
.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
= submit_tag button_label.is_a?(Symbol) ? t(".#{button_label}") : button_label, :disable_with => t('.disable_with'), :'data-sending-form-message' => t('locomotive.messages.sending_form')
2010-04-25 00:33:38 +00:00
.clear