about summary refs log tree commit diff
path: root/uploader/templates/phenotypes/create-dataset.html
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/phenotypes/create-dataset.html')
-rw-r--r--uploader/templates/phenotypes/create-dataset.html17
1 files changed, 10 insertions, 7 deletions
diff --git a/uploader/templates/phenotypes/create-dataset.html b/uploader/templates/phenotypes/create-dataset.html
index 93de92f..9963953 100644
--- a/uploader/templates/phenotypes/create-dataset.html
+++ b/uploader/templates/phenotypes/create-dataset.html
@@ -42,16 +42,17 @@
       <input type="text"
              name="dataset-name"
              id="txt-dataset-name"
-             value="{{original_formdata.get('dataset-name') or (population.InbredSetCode + 'Publish')}}"
+             value="{{original_formdata.get('dataset-name') or (population.Name + 'Publish')}}"
              {%if errors["dataset-name"] is defined%}
              class="form-control danger"
              {%else%}
              class="form-control"
              {%endif%}
-             required="required" />
+             required="required"
+             readonly="readonly" />
       <small class="form-text text-muted">
         <p>A short representative name for the dataset.</p>
-        <p>Recommended: Use the population code and append "Publish" at the end.
+        <p>Recommended: Use the population name and append "Publish" at the end.
           <br />This field will only accept names composed of
           letters ('A-Za-z'), numbers (0-9), hyphens and underscores.</p>
       </small>
@@ -66,7 +67,7 @@
       <input id="txt-dataset-fullname"
              name="dataset-fullname"
              type="text"
-             value="{{original_formdata.get('dataset-fullname', '')}}"
+             value="{{original_formdata.get('dataset-fullname', '') or population.Name + ' Phenotypes'}}"
              {%if errors["dataset-fullname"] is defined%}
              class="form-control danger"
              {%else%}
@@ -74,8 +75,10 @@
              {%endif%}
              required="required" />
       <small class="form-text text-muted">
-        <p>A longer, descriptive name for the dataset &mdash; useful for humans.
-      </p></small>
+        <p>A longer, descriptive name for the dataset. The name is meant for use
+          by humans, and therefore, it should be clear what the dataset contains
+          from the name.</p>
+      </small>
     </div>
 
     <div class="form-group">
@@ -84,7 +87,7 @@
              name="dataset-shortname"
              type="text"
              class="form-control"
-             value="{{original_formdata.get('dataset-shortname') or (population.InbredSetCode + ' Publish')}}" />
+             value="{{original_formdata.get('dataset-shortname') or (population.Name + 'Publish')}}" />
       <small class="form-text text-muted">
         <p>An optional, short name for the dataset. <br />
           If this is not provided, it will default to the value provided for the