aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/species/macro-select-species.html
blob: 21a5631e10826a697df37081b2a68ac7c5eee37b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{%macro select_species_form(form_action, species)%}
<form method="GET" action="{{form_action}}" class="form-horizontal">
  <label class="control-label">What species do you want to work with?</label>
  {%if species | length != 0%}
  <table id="tbl-select-species" class="table compact stripe"
         data-species-list='{{species | tojson}}'>
    <div class="">
      <thead>
        <tr>
          <th></th>
          <th>Species Name</th>
        </tr>
      </thead>

      <tbody></tbody>
  </table>
  {%endif%}

  <div class="form-group">
    <label class="control-label" for="rdo-cant-find-species">
      <input id="rdo-cant-find-species" type="radio" name="species_id" value="CREATE-SPECIES" />
      I cannot find the species I want &mdash; create it!</label>
  </div>

  <div class="form-group">
    <input type="submit"
           class="btn btn-primary col-sm-offset-1"
           value="continue" />
  </div>

</form>
{%endmacro%}