mirror of
https://github.com/Rushilwiz/relish.git
synced 2025-04-09 14:30:19 -04:00
feat: redirect after submit
This commit is contained in:
parent
c19b30c11a
commit
9038ef2e96
|
@ -20,6 +20,16 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
{% if success %}
|
||||||
|
<script type="text/javascript">
|
||||||
|
function redirect()
|
||||||
|
{
|
||||||
|
window.location="http://www.google.com";
|
||||||
|
}
|
||||||
|
setTimeout('redirect()', 5000);
|
||||||
|
</script>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user