- @stylesheets << 'admin/globalize2' #globalize %input{:type => "hidden", :name => "locale", :value => Globalize2Extension.content_locale.to_s } .edit %span - Globalize2Extension.locales.map do |locale| = link_to_unless(Globalize2Extension.content_locale == locale, "#{locale.upcase}", params.merge(:content_locale => locale)) - if !@page.nil? && Globalize2Extension.content_locale == locale - if Globalize2Extension.content_locale != Globalize2Extension.default_language - if @page.translated_locales.include?(locale.to_sym) %span.translated %label{:for => "reset_translations"} %input{:type => "checkbox", :value => "true", :name => "page[reset_translations]", :id => "reset_translations"} Delete =Globalize2Extension.content_locale.to_s.upcase translation - else %span.not-translated (not translated) - else %span (default)