<%= t('plugin.front_cache.message.please_checkpost_need_cache') %>
<%= check_box_tag("cache[home]", 1, @caches[:home]) %>
<%= select_tag("cache[post_type]", options_from_collection_for_select(current_site.post_types.decorate, "id", "the_title", @caches[:post_types]), "class"=> "form-control select", multiple: true, "data-live-search"=>"true") %>
<%= select_tag("cache[posts]", option_groups_from_collection_for_select(current_site.the_post_types.decorate, :the_posts, :the_title, :id, lambda{|o| o.decorate.the_title }, @caches[:posts]), "class"=> "form-control select", multiple: true, "data-live-search" => "true") %>
<%= select_tag("cache[skip_posts]", option_groups_from_collection_for_select(current_site.the_post_types.decorate, :the_posts, 'the_title', "id", lambda{|o| o.decorate.the_title }, @caches[:skip_posts]), "class"=> "form-control select", multiple: true, "data-live-search" => "true") %>
<%= check_box_tag("cache[preserve_cache_on_restart]", 1, @caches[:preserve_cache_on_restart]) %>
<%= check_box_tag("cache[invalidate_only]", 1, @caches[:invalidate_only]) %>