Skip to content

Commit adb7782

Browse files
committed
add contact to erro
1 parent 5742801 commit adb7782

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/src/js/spectrum-form/form-controller.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,6 +1304,9 @@ function showAlert(container, message, type = "info") {
13041304
const alert = document.createElement("div")
13051305
alert.className = `alert alert-${type} alert-dismissible fade show`
13061306
alert.innerHTML = `${message}<button type="button" class="btn-close" data-bs-dismiss="alert"></button>`
1307+
// add link to contact form
1308+
alert.innerHTML +=
1309+
'<br><small class="text-muted">If you think your CSV format should work, <a href="/contact" target="_blank" rel="noopener">contact us</a></small>.'
13071310
container.prepend(alert)
13081311
}
13091312

0 commit comments

Comments
 (0)