Skip to content

Commit 87eabad

Browse files
committed
correctif
1 parent 7865d3f commit 87eabad

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

html/error-template.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,12 @@
1717
<div class="container">
1818
<div class="error-code">ERROR_CODE</div>
1919
<div class="error-type">ERROR_TYPE</div>
20-
<div class="error-message">ERROR_MESSAGE</div>
20+
<div id="error-message" class="error-message"></div>
2121
<img class="gif" src="ERROR_GIF" alt="Error illustration">
2222
</div>
23+
<script>
24+
// Remplace le contenu du message d'erreur en HTML
25+
document.getElementById('error-message').innerHTML = 'ERROR_MESSAGE';
26+
</script>
2327
</body>
2428
</html>

0 commit comments

Comments
 (0)