aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/edit_phenotype.html32
1 files changed, 16 insertions, 16 deletions
diff --git a/wqflask/wqflask/templates/edit_phenotype.html b/wqflask/wqflask/templates/edit_phenotype.html
index 610a6f60..5278a12e 100644
--- a/wqflask/wqflask/templates/edit_phenotype.html
+++ b/wqflask/wqflask/templates/edit_phenotype.html
@@ -175,8 +175,22 @@
<textarea name="authors" class="form-control" rows="3" placeholder="Example: Roy S, Ingels J, Bohl CJ, McCarty M, Lu L, Mulligan MK, Mozhui K, Centeno A, Williams EG, Auwerx J, Williams RW">{{ publication.authors |default('', true) }}</textarea>
<input name="old_authors" class="changed" type="hidden" value="{{ publication.authors |default('', true) }}"/>
</div>
- </div>
- <div class="form-group">
+ </div>
+ <div class="form-group">
+ <label for="year" class="col-sm-3 col-lg-2 control-label text-left">Year</label>
+ <div class="col-sm-7 col-lg-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="month" class="col-sm-3 col-lg-2 control-label text-left">Month</label>
+ <div class="col-sm-7 col-lg-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="title" class="col-sm-3 col-lg-2 control-label text-left">Title</label>
<div class="col-sm-7 col-lg-8">
<textarea name="title" class="form-control" rows="2">{{ publication.title |default('', true) }}</textarea>
@@ -211,20 +225,6 @@
<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-3 col-lg-2 control-label text-left">Month</label>
- <div class="col-sm-7 col-lg-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-3 col-lg-2 control-label text-left">Year</label>
- <div class="col-sm-7 col-lg-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 style="margin-left: 13%;">
<a href="/datasets/{{ publish_xref.id_ }}/traits/{{ publish_xref.phenotype_id }}/csv?resource-id={{ resource_id }}" class="btn btn-link btn-sm">
Click to Download CSV Sample Data