44 lines
1.5 KiB
HTML
44 lines
1.5 KiB
HTML
{% extends "core_ui/base.html" %}
|
|
{% block title %}Review Scientific Names{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container py-4">
|
|
<h2 class="mb-4">🔍 Review Suggested Matches</h2>
|
|
|
|
<form method="POST">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
|
|
{% if review_list %}
|
|
<div class="table-responsive">
|
|
<table class="table table-bordered align-middle">
|
|
<thead>
|
|
<tr>
|
|
<th>Common Name</th>
|
|
<th>Suggested Scientific Name</th>
|
|
<th>Confirm?</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for row in review_list %}
|
|
<tr>
|
|
<td>{{ row.common_name }}</td>
|
|
<td>{{ row.suggested_name }}</td>
|
|
<td>
|
|
<input class="form-check-input" type="checkbox" name="confirm_{{ row.uuid }}" value="1" checked>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% else %}
|
|
<p>No suggestions were made. You can safely continue.</p>
|
|
{% endif %}
|
|
|
|
<div class="mt-3">
|
|
<button type="submit" class="btn btn-primary">Confirm and Import</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|