/**
  * Template form fields.
  * 
  * @since 1.0.0
  * @access public
  */
 public function fields()
 {
     global $TF;
     $image_base = $TF->framework_uri() . '/assets/img/layout-icons';
     $type_options = TF_Model::template_types();
     $type_options[0]['selected'] = true;
     return apply_filters('tf_post_type_tf_template_fields', array('tf_template_name' => array('type' => 'text', 'class' => 'tf_input_width_40', 'label' => __('Name', 'themify-flow')), 'tf_template_header_option' => array('type' => 'layout', 'label' => __('Header', 'themify-flow'), 'options' => array(array('img' => $image_base . '/header.png', 'value' => 'default', 'label' => __('Header', 'themify-flow'), 'selected' => true), array('img' => $image_base . '/none.png', 'value' => 'header-none', 'label' => __('Header None', 'themify-flow')))), 'tf_template_sidebar_option' => array('type' => 'layout', 'label' => __('Sidebar', 'themify-flow'), 'options' => array(array('img' => $image_base . '/sidebar1.png', 'value' => 'sidebar_right', 'label' => __('Sidebar Right', 'themify-flow'), 'selected' => true), array('img' => $image_base . '/sidebar1-left.png', 'value' => 'sidebar_left', 'label' => __('Sidebar1 Left', 'themify-flow')), array('img' => $image_base . '/none.png', 'value' => 'sidebar_none', 'label' => __('Sidebar None', 'themify-flow')))), 'tf_template_footer_option' => array('type' => 'layout', 'label' => __('Footer', 'themify-flow'), 'options' => array(array('img' => $image_base . '/footer.png', 'value' => 'default', 'label' => __('Footer', 'themify-flow'), 'selected' => true), array('img' => $image_base . '/none.png', 'value' => 'footer-none', 'label' => __('Footer None', 'themify-flow')))), 'tf_template_type' => array('type' => 'radio', 'label' => __('Template Type', 'themify-flow'), 'options' => $type_options, 'toggleable' => array('target_class' => 'visibility-tabs-tf_template_assign')), 'tf_template_assign' => array('type' => 'template_assign', 'label' => __('Assign Template To:', 'themify-flow'), 'description' => __('Leave everything unchecked will apply to all (eg. if it is an archive template, it will apply to all archive views of all categories, tags, archives, post types, and taxonomies)', 'themify-flow')), 'menu_order' => array('type' => 'text', 'class' => 'tf_input_width_20', 'label' => __('Template Priority', 'themify-flow'), 'description' => __('If multiple templates are assigned to the same views, the higher priority will be used', 'themify-flow'), 'default' => 0), 'tf_template_custom_css_class' => array('type' => 'text', 'class' => 'tf_input_width_80', 'label' => __('Custom CSS Class', 'themify-flow'))));
 }