aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/edit_trait.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/edit_trait.html b/wqflask/wqflask/templates/edit_trait.html
index f01c497c..e0f2f1d4 100644
--- a/wqflask/wqflask/templates/edit_trait.html
+++ b/wqflask/wqflask/templates/edit_trait.html
@@ -23,12 +23,14 @@ Submit Trait | Reset
character in this field. -->
<div class="col-sm-8">
<textarea name="pubmed-id" class="form-control" rows="1">{{ publish_xref.publication_id |default('', true) }}</textarea>
+ <input name="old_id_" class="changed" type="hidden" value="{{ publish_xref.publication_id |default('', true) }}"/>
</div>
</div>
<div class="form-group">
<label for="pre-pub-desc" class="col-sm-2 control-label">Pre Publication Description:</label>
<div class="col-sm-8">
<textarea name="pre-pub-desc" class="form-control" rows="4">{{ phenotype.pre_pub_description |default('', true) }}</textarea>
+ <input name="old_pre_pub_description" class="changed" type="hidden" value="{{ phenotype.pre_pub_description |default('', true) }}"/>
</div>
<!-- If the PubMed ID is entered, the Post Publication Description
will be shown to all users. If there is no PubMed ID, and the
@@ -39,18 +41,21 @@ Submit Trait | Reset
<label for="post-pub-desc" class="col-sm-2 control-label">Post Publication Description:</label>
<div class="col-sm-8">
<textarea name="post-pub-desc" class="form-control" rows="4">{{ phenotype.post_pub_description |default('', true) }}</textarea>
+ <input name="old_post_pub_description" class="changed" type="hidden" value="{{ phenotype.post_pub_description |default('', true) }}"/>
</div>
</div>
<div class="form-group">
<label for="orig-desc" class="col-sm-2 control-label">Original Description:</label>
<div class="col-sm-8">
<textarea name="orig-desc" class="form-control" rows="4">{{ phenotype.original_description |default('', true) }}</textarea>
+ <input name="old_original_description" class="changed" type="hidden" value="{{ phenotype.original_description |default('', true) }}"/>
</div>
</div>
<div class="form-group">
<label for="units" class="col-sm-2 control-label">Units:</label>
<div class="col-sm-8">
<textarea name="units" class="form-control" rows="1">{{ phenotype.units |default('', true) }}</textarea>
+ <input name="old_units" class="changed" type="hidden" value="{{ phenotype.units |default('', true) }}"/>
</div>
</div>
<div class="form-group">
@@ -59,6 +64,7 @@ Submit Trait | Reset
</label>
<div class="col-sm-8">
<textarea name="pre-pub-abbrev" class="form-control" rows="1">{{ phenotype.pre_pub_abbreviation |default('', true) }}</textarea>
+ <input name="old_pre_pub_abbreviation" class="changed" type="hidden" value="{{ phenotype.pre_pub_abbreviation |default('', true) }}"/>
</div>
</div>
<div class="form-group">
@@ -67,6 +73,7 @@ Submit Trait | Reset
</label>
<div class="col-sm-8">
<textarea name="post-pub-abbrev" class="form-control" rows="1">{{ phenotype.post_pub_abbreviation |default('', true) }}</textarea>
+ <input name="old_post_pub_abbreviation" class="changed" type="hidden" value="{{ phenotype.post_pub_abbreviation |default('', true) }}"/>
</div>
</div>
<div class="form-group">
@@ -75,6 +82,7 @@ Submit Trait | Reset
</label>
<div class="col-sm-8">
<textarea name="labcode" class="form-control" rows="1">{{ phenotype.lab_code |default('', true) }}</textarea>
+ <input name="old_lab_code" class="changed" type="hidden" value="{{ phenotype.lab_code |default('', true) }}"/>
</div>
</div>
<div class="form-group">
@@ -83,12 +91,14 @@ Submit Trait | Reset
</label>
<div class="col-sm-8">
<textarea name="submitter" class="form-control" rows="1">{{ phenotype.submitter |default('', true) }}</textarea>
+ <input name="old_submitter" class="changed" type="hidden" value="{{ phenotype.submitter |default('', true) }}"/>
</div>
</div>
<div class="form-group">
<label for="owner" class="col-sm-2 control-label">Owner:</label>
<div class="col-sm-8">
<textarea name="owner" class="form-control" rows="1">{{ phenotype.owner |default('', true) }}</textarea>
+ <input name="old_owner" class="changed" type="hidden" value="{{ phenotype.owner |default('', true) }}"/>
</div>
</div>
<div class="form-group">
@@ -97,54 +107,63 @@ Submit Trait | Reset
</label>
<div class="col-sm-8">
<textarea name="owner" class="form-control" rows="1">{{ phenotype.authorized_users |default('', true) }}</textarea>
+ <input name="old_authorized_users" class="changed" type="hidden" value="{{ phenotype.authorized_users |default('', true) }}"/>
</div>
</div>
<div class="form-group">
<label for="authors" class="col-sm-2 control-label">Authors:</label>
<div class="col-sm-8">
<textarea name="authors" class="form-control" rows="2">{{ publication.authors |default('', true) }}</textarea>
+ <input name="old_authors" class="changed" type="hidden" value="{{ publication.authors |default('', true) }}"/>
</div>
</div>
<div class="form-group">
<label for="title" class="col-sm-2 control-label">Title:</label>
<div class="col-sm-8">
<textarea name="title" class="form-control" rows="2">{{ publication.title |default('', true) }}</textarea>
+ <input name="old_title" class="changed" type="hidden" value="{{ publication.title |default('', true) }}"/>
</div>
</div>
<div class="form-group">
<label for="abstract" class="col-sm-2 control-label">Abstract:</label>
<div class="col-sm-8">
<textarea name="abstract" class="form-control" rows="6">{{ publication.abstract |default('', true) }}</textarea>
+ <input name="old_abstract" class="changed" type="hidden" value="{{ publication.abstract |default('', true) }}"/>
</div>
</div>
<div class="form-group">
<label for="journal" class="col-sm-2 control-label">Journal:</label>
<div class="col-sm-8">
<textarea name="journal" class="form-control" rows="1">{{ publication.journal |default('', true) }}</textarea>
+ <input name="old_journal" class="changed" type="hidden" value="{{ publication.journal_ |default('', true) }}"/>
</div>
</div>
<div class="form-group">
<label for="pages" class="col-sm-2 control-label">Pages:</label>
<div class="col-sm-8">
<textarea name="pages" class="form-control" rows="1">{{ publication.pages |default('', true) }}</textarea>
+ <input name="old_pages" class="changed" type="hidden" value="{{ publication.pages |default('', true) }}"/>
</div>
</div>
<div class="form-group">
<label for="month" class="col-sm-2 control-label">Month:</label>
<div class="col-sm-8">
<textarea name="month" class="form-control" rows="1">{{ publication.month |default('', true) }}</textarea>
+ <input name="old_month" class="changed" type="hidden" value="{{ publication.month |default('', true) }}"/>
</div>
</div>
<div class="form-group">
<label for="year" class="col-sm-2 control-label">Year:</label>
<div class="col-sm-8">
<textarea name="year" class="form-control" rows="1">{{ publication.year |default('', true) }}</textarea>
+ <input name="old_year" class="changed" type="hidden" value="{{ publication.year |default('', true) }}"/>
</div>
</div>
<div class="form-group">
<label for="sequence" class="col-sm-2 control-label">Sequence:</label>
<div class="col-sm-8">
<textarea name="sequence" class="form-control" rows="6">{{ publish_xref.sequence |default('', true) }}</textarea>
+ <input name="old_sequence" class="changed" type="hidden" value="{{ publication.sequence |default('', true) }}"/>
</div>
</div>
<div class="controls" style="display:block; margin-left: 40%; margin-right: 20%;">