1234567891011121314151617181920212223242526272829303132333435363738 |
- {{define "confirm" -}}
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Confirmation needed</title>
- <link rel="stylesheet" href="/assets/styles.css"/>
- <link rel="stylesheet" href="/assets/bootstrap.min.css">
- </head>
- <body>
- <main class="container mt-5">
- <h1 class="display-4 py-4">Confirmation needed</h1>
- {{ template "flashes" .flashes }}
- <div class="border border-danger rounded p-3">
- <div>
- <h3 class="text-danger">{{ .question }}</h3>
- </div>
- <div class="mt-3">
- <p class="fs-4 text">{{ .description }}</p>
- </div>
- {{ if .list }}
- <ul>
- {{range .list}}
- <li>{{ . }}</li>
- {{end}}
- </ul>
- {{end}}
- <form method="post">
- <a href="{{ .redirect }}" class="btn btn-outline-dark btn-lg px-4">{{ .cancel }}</a>
- <button class="btn btn-warning btn-lg px-5">{{ .confirm }}</button>
- <input type="hidden" value="{{ .csrf }}" name="_csrf" />
- </form>
- </div>
- </main>
- </body>
- <script src="/assets/bootstrap.js"></script>
- </html>
- {{end}}
|