Browse Source

Minor change to inline textrea fields

Stephen Ficklin 8 years ago
parent
commit
ca1ea98eed
2 changed files with 2 additions and 1 deletions
  1. 1 0
      tripal_chado/includes/tripal_chado.fields.inc
  2. 1 1
      tripal_chado/tripal_chado.module

+ 1 - 0
tripal_chado/includes/tripal_chado.fields.inc

@@ -667,6 +667,7 @@ function tripal_chado_bundle_create_instances_base(&$info, $entity_type, $bundle
         $base_info['widget']['type'] = 'text_textfield';
         break;
       case 'text':
+        $base_info['display']['default']['label'] = 'above';
         $base_info['widget']['type'] = 'text_textarea';
         $base_info['settings']['text_processing'] = '1';
         $base_info['settings']['format'] = 'full_html';

+ 1 - 1
tripal_chado/tripal_chado.module

@@ -655,7 +655,7 @@ function tripal_chado_theme($existing, $type, $theme, $path) {
       );
       $mapped_table = chado_get_cvterm_mapping($params);
 
-      // Do not proceed if there is not a mapped_table
+      // Do not proceed if there is not a mapped_table.
       if (!$mapped_table) {
         continue;
       }