JuanVqz/doctors

View on GitHub
app/views/layouts/pdfs/prescription.pdf.erb

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang="es">
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
  <title>Consulta Medica de <%= @appointment.patient %></title>
  <style>
    .container {
      display: flex;
      flex-direction: column;
    }

    .container > div {
      word-wrap: break-word;
    }

    .header {
      font-size: 13px;
      margin-right: 80px;
    }

    .text-uppercase {
      text-transform: uppercase;
    }

    .text-right {
      text-align: right;
    }
  </style>
</head>
<body>
  <div class="container">
    <%= yield %>
  </div>
</body>
</html>