浏览代码

Bulk Loader: make template name required

Lacey Sanderson 11 年之前
父节点
当前提交
6df001ae49
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tripal_bulk_loader/includes/tripal_bulk_loader.admin.templates.inc

+ 1 - 0
tripal_bulk_loader/includes/tripal_bulk_loader.admin.templates.inc

@@ -95,6 +95,7 @@ function tripal_bulk_loader_modify_template_base_form($form, &$form_state = NULL
       $form['new_template_name'] = array(
         '#type' => 'textfield',
         '#title' => 'Template Name',
+        '#required' => TRUE,
         '#description' => 'The template name should be unique, short and descriptive. It '
           .'will be shown to your users in the Bulk Loading Job creation form so it '
           .'should be friendly and easy to determine which template to choose.',