app/views/comfy/admin/cms/pages/_form.html.haml in cms-fortress-1.3.0.rc2 vs app/views/comfy/admin/cms/pages/_form.html.haml in cms-fortress-1.3.0.rc3
- old
+ new
@@ -9,10 +9,10 @@
= render 'comfy/admin/cms/partials/page_form_before', :object => form
- if Cms::Fortress.configuration.enable_page_workflow && !@page.new_record?
.container-fluid
.btn-group
- %span.btn.btn-success= @page.aasm_state.titleize
+ %span.btn.btn-success= t('.' + @page.aasm_state)
- page_actions(@page).each do |page_action|
= form.button t('.'+page_action.to_s), :class => 'btn btn-default', :value => page_action, :name => 'transition'
%hr
= form.text_field :label, :data => {:slugify => @page.new_record?}