| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Respuesta del Usuario</title>
- <style>
- body {
- font-family: 'Segoe UI', sans-serif;
- font-size: 13px;
- margin: 40px;
- color: #2c3e50;
- }
- h1 {
- font-size: 20px;
- margin-bottom: 5px;
- }
- p {
- margin: 0 0 15px;
- }
- h2 {
- margin-top: 40px;
- font-size: 16px;
- color: #2c3e50;
- border-bottom: 2px solid #3498db;
- padding-bottom: 4px;
- }
- .campo {
- margin-bottom: 8px;
- }
- .campo span {
- display: inline-block;
- min-width: 200px;
- font-weight: bold;
- }
- .footer {
- margin-top: 60px;
- font-size: 11px;
- text-align: center;
- color: #999;
- }
- </style>
- </head>
- <body>
- <h1>Formulario contestado por el usuario: {{ $usuario }}</h1>
- <p><strong>Fecha de respuesta:</strong> {{ \Carbon\Carbon::parse($fecha)->format('d/m/Y H:i') }}</p>
- @foreach ($respuesta as $titulo => $campos)
- <h2>{{ $titulo }}</h2>
- @foreach ($campos as $clave => $valor)
- <div class="campo">
- <span>{{ $clave }}:</span> {{ $valor }}
- </div>
- @endforeach
- @endforeach
- <div class="footer">
- Documento generado automáticamente. Plataforma educativa - {{ date('Y') }}.
- </div>
- </body>
- </html>
|