diff options
Diffstat (limited to 'uploader/templates/populations/create-population.html')
-rw-r--r-- | uploader/templates/populations/create-population.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/uploader/templates/populations/create-population.html b/uploader/templates/populations/create-population.html index 86aebda..c0c4f45 100644 --- a/uploader/templates/populations/create-population.html +++ b/uploader/templates/populations/create-population.html @@ -37,12 +37,15 @@ <div class="row"> <form method="POST" action="{{url_for('species.populations.create_population', - species_id=species.SpeciesId)}}"> + species_id=species.SpeciesId, + return_to=return_to)}}"> <legend>Create Population</legend> {{flash_all_messages()}} + <input type="hidden" name="return_to" value="{{return_to}}"> + <div {%if errors.population_fullname%} class="form-group has-error" {%else%} |