pdf-generator-print.html.twig in PDF Generator 8
Same filename and directory in other branches
<!DOCTYPE html> <html lang="es"> <head> <style type="text/css"> {{ css }} </style> <title>{{ title }}</title> </head> <body class="pdf"> <div class="content">{{ content }}</div> </body> </html>
1 theme call to pdf-generator-print.html.twig
- DomPdfGenerator::getResponse in src/
DomPdfGenerator.php - Render usin dompdf with given options.
File
templates/pdf-generator-print.html.twigView source
- <!DOCTYPE html>
- <html lang="es">
- <head>
- <style type="text/css">
- {{ css }}
- </style>
- <title>{{ title }}</title>
- </head>
- <body class="pdf">
- <div class="content">{{ content }}</div>
- </body>
- </html>