aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/species/macro-display-species-card.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-09 10:48:29 -0500
committerFrederick Muriuki Muriithi2024-09-09 10:48:29 -0500
commit707c715d1e336ee45bdcced031881ed603b9297a (patch)
tree9f4b39c20d595be5c531c70d001f932676342a46 /uploader/templates/species/macro-display-species-card.html
parentb74911f15a9f9a9ff3cca0e25fcd761bf41652b5 (diff)
downloadgn-uploader-707c715d1e336ee45bdcced031881ed603b9297a.tar.gz
Display species details in populations views.
Diffstat (limited to 'uploader/templates/species/macro-display-species-card.html')
-rw-r--r--uploader/templates/species/macro-display-species-card.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/uploader/templates/species/macro-display-species-card.html b/uploader/templates/species/macro-display-species-card.html
new file mode 100644
index 0000000..857c0f0
--- /dev/null
+++ b/uploader/templates/species/macro-display-species-card.html
@@ -0,0 +1,16 @@
+{%macro display_species_card(species)%}
+<div class="card">
+ <div class="card-body">
+ <h5 class="card-title">Species</h5>
+ <div class="card-text">
+ <dl>
+ <dt>Common Name</dt>
+ <dd>{{species.SpeciesName}}</dd>
+
+ <dt>Scientific Name</dt>
+ <dd>{{species.FullName}}</dd>
+ </dl>
+ </div>
+ </div>
+</div>
+{%endmacro%}