JuanVqz/doctors

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

Summary

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

    .container > div {
      padding-top: 5px;
      word-wrap: break-word;
    }

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

    .text-right {
      text-align: right;
    }

    .text-center {
      text-align: center;
    }

    .text-justify {
      text-align: justify;
    }

    .font-17-px {
      font-size: 17px;
    }

    .font-18-px {
      font-size: 18px;
    }
  </style>
</head>
<body>
  <%= yield %>
</body>
</html>