aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2022-05-06 11:06:56 +0300
committerBonfaceKilz2022-05-06 12:43:34 +0300
commit7e512b14f892c5dbe3b44b331765b7afcd05bce5 (patch)
tree12d11854a55207a84bbb07bcc4cfb989642a31dd /wqflask
parent465106dfd64eeb2e57574f480c997304a40553da (diff)
downloadgenenetwork2-7e512b14f892c5dbe3b44b331765b7afcd05bce5.tar.gz
Re-order the form fields to match the APA citation style
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