public function templates($config = array())
    {
          $config = new AnConfig($config);

          $exclude = array(
            'base',
            'system'
          );

          $templates = preg_grep('/^([^.])/', scandir(ANPATH_THEMES));
          $templates = array_diff($templates, $exclude);

          $options = array();

          foreach($templates as $template){
              $options[] = array(
                'name' => AnInflector::humanize($template),
                'value' => $template
              );
          }

          $config->options = $options;

          return $this->formfield_select($config);
    }