/> <%= t('camaleon_cms.admin.table.manage_layout') %>
<%= raw cama_html_tooltip("#{t('camaleon_cms.admin.post_type.tooltip.permission_manage_layout')}", 'right') %>
<%= t('camaleon_cms.admin.post_type.default_layout') %> <%= raw cama_html_tooltip("#{t('camaleon_cms.admin.post_type.tooltip.default_layout')}", 'right') %>
<%= select("meta", "default_layout", cama_get_list_layouts_files(@post_type), { include_blank: true, selected: @post_type.get_option("default_layout") }, {class: 'form-control'}) %>
/> <%= t('camaleon_cms.admin.table.manage_template') %>
<%= raw cama_html_tooltip("#{t('camaleon_cms.admin.post_type.tooltip.permission_manage_template')}", 'right') %>
<%= t('camaleon_cms.admin.post_type.default_template') %> <%= raw cama_html_tooltip("#{t('camaleon_cms.admin.post_type.tooltip.default_template')}", 'right') %>
<%= select("meta", "default_template", cama_get_list_template_files(@post_type), { include_blank: true, selected: @post_type.get_option("default_template") }, {class: 'form-control'}) %>
/> <%= t('camaleon_cms.admin.table.manage_category') %>
<%= raw cama_html_tooltip("#{t('camaleon_cms.admin.post_type.tooltip.permission_asing_categories')}", 'right') %>
/> <%= t('camaleon_cms.admin.table.manage_tags') %>
<%= raw cama_html_tooltip("#{t('camaleon_cms.admin.post_type.tooltip.permission_add_tags')}", 'right') %>
/> <%= t('camaleon_cms.admin.table.manage_content') %>
<%= raw cama_html_tooltip("#{t('camaleon_cms.admin.post_type.tooltip.permission_add_content')}", 'right') %>
/> <%= t('camaleon_cms.admin.table.manage_summary') %>
<%= raw cama_html_tooltip("#{t('camaleon_cms.admin.post_type.tooltip.permission_add_content_summary')}", 'right') %>
/> <%= t('camaleon_cms.admin.table.permit_comments_default') %>
<%= raw cama_html_tooltip("#{t('camaleon_cms.admin.post_type.tooltip.permission_reviews')}", 'right') %>
/> <%= t('camaleon_cms.admin.table.permit_is_featured', default: 'Permit Featured Articles') %>
/> <%= t('camaleon_cms.admin.table.manage_seo') %>
/> <%= t('camaleon_cms.admin.table.manage_parent_structure', default: 'Manage page hierarchy') %>
<%= raw cama_html_tooltip("#{t('camaleon_cms.admin.post_type.tooltip.permission_to_support_parent_structure', default: "Permit to posts indicate the parent page")}", 'right') %>
/> <%= t('camaleon_cms.admin.table.manage_picture') %>
<%= raw cama_html_tooltip("#{t('camaleon_cms.admin.post_type.tooltip.permission_add_image_presentation')}", 'right') %>
<%= cama_t('camaleon_cms.admin.custom_field.fields.image_dimension') %>
<%= raw cama_html_tooltip("#{cama_t('camaleon_cms.admin.custom_field.fields.image_dimension_descr')}", 'right') %>
<%= text_field_tag 'meta[posts_image_dimension]', @post_type.get_option('posts_image_dimension'), class: 'form-control' %>
<%= cama_t('camaleon_cms.admin.custom_field.fields.image_versions') %>
<%= raw cama_html_tooltip("#{cama_t('camaleon_cms.admin.custom_field.fields.image_versions_descr')}", 'right') %>
<%= text_field_tag 'meta[posts_thumb_versions]', @post_type.get_option('posts_thumb_versions'), class: 'form-control' %>
<%= cama_t('camaleon_cms.admin.custom_field.fields.image_thumb') %>
<%= raw cama_html_tooltip("#{cama_t('camaleon_cms.admin.custom_field.fields.image_thumb_descr', d: current_site.get_option('filesystem_thumb_size', '100x100'))}", 'right') %>
<%= text_field_tag 'meta[posts_thumb_size]', @post_type.get_option('posts_thumb_size'), class: 'form-control' %>
<%= check_box_tag 'meta[is_required_picture]', true, @post_type.get_option('is_required_picture', false) %> <%= cama_t('camaleon_cms.admin.custom_field.fields.required_image_thumb') %>
<%= args={html: '', post_type: @post_type}; hooks_run('post_type_settings_admin', args); raw(args[:html]) %>
<%= t('camaleon_cms.admin.table.default_thumbnail') %>
<%= hidden_field :meta, :default_thumb, :class => "form-control unput_upload", :value => @post_type.get_option('default_thumb') %>
<%= render partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: @post_type, field_groups: groups} %>
<% end %>
<%= args={html: '', post_type: @post_type}; hooks_run('post_type_settings_front', args); raw(args[:html]) %>