diff options
author | BonfaceKilz | 2021-10-26 22:38:05 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-10-28 08:34:35 +0300 |
commit | e640c85bdb5174d86f2ba5adf112bbf9259fdc94 (patch) | |
tree | 09f676d0161b767834fae477ad1f4665680d7a7d /wqflask | |
parent | 0e0da16c9bd5b0ea6366201cb34de6547dbe4080 (diff) | |
download | genenetwork2-e640c85bdb5174d86f2ba5adf112bbf9259fdc94.tar.gz |
edit_phenotype.html: Update form element for submitting POST data
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/edit_phenotype.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wqflask/wqflask/templates/edit_phenotype.html b/wqflask/wqflask/templates/edit_phenotype.html index 7a841793..5166a903 100644 --- a/wqflask/wqflask/templates/edit_phenotype.html +++ b/wqflask/wqflask/templates/edit_phenotype.html @@ -62,8 +62,7 @@ </div> {% endif %} - -<form id="edit-form" class="form-horizontal" method="post" action="/trait/update" enctype=multipart/form-data> +<form id="edit-form" class="form-horizontal" method="post" action="/datasets/{{dataset_id}}/traits/{{ publish_xref.id_ }}/update?resource-id={{ resource_id }}" enctype=multipart/form-data> <h2 class="text-center">Trait Information:</h2> <div class="form-group"> <label for="pubmed-id" class="col-sm-2 control-label">Pubmed ID:</label> @@ -226,7 +225,6 @@ <input type = "file" class="col-sm-4 control-label" name = "file" /> </div> <div class="controls center-block" style="width: max-content;"> - <input name="dataset-name" class="changed" type="hidden" value="{{ publish_xref.id_ }}"/> <input name="inbred-set-id" class="changed" type="hidden" value="{{ publish_xref.inbred_set_id }}"/> <input name="phenotype-id" class="changed" type="hidden" value="{{ publish_xref.phenotype_id }}"/> <input name="comments" class="changed" type="hidden" value="{{ publish_xref.comments }}"/> |