app/views/admin/pages/_form.html.haml in locomotive_cms-0.0.2.8 vs app/views/admin/pages/_form.html.haml in locomotive_cms-0.0.2.9
- old
+ new
@@ -14,10 +14,10 @@
= f.input :slug, :required => false, :hint => @page.slug.blank? ? ' ' : @page.url, :input_html => { :data_url => get_path_admin_pages_url, :disabled => @page.index? || @page.not_found? }
= f.custom_input :published, :css => 'toggle' do
= f.check_box :published
- = f.input :cache_expires_in, :as => :select, :collection => options_for_page_cache_expiration, :include_blank => false
+ = f.input :cache_strategy, :as => :select, :collection => options_for_page_cache_strategy, :include_blank => false
#page-parts
.nav
- @page.parts.each_with_index do |part, index|
= link_to content_tag(:span, part.name), "#parts-#{index + 1}", :id => "control-part-#{part.slug}", :class => "part-#{index} #{'on' if index == 0}", :style => "#{'display: none' if part.disabled?}"
\ No newline at end of file