<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  </head>
  <body>
    <div class="competition-certificate" style="position: absolute;font-size: 85px;font-family: SimSun;">
      <img src="<%= ApplicationController.helpers.download_image(@prize_user.competition_prize.member_certificate_path) %>"/>
      <div class="competition-certificate-body" style="position: absolute;width: 82%;top: 35%;left: 9%;">
        <p><%= @prize_user.user.school_name %> <%= @prize_user.user.real_name %>（学号 <%= @prize_user.user.student_id %>）：</p>
        <p style="padding-left:2em;line-height: 1.8">
            荣获第二届“<b>全国高校绿色计算大赛</b>”（ <%= @prize_user.competition.sub_title %> ）“<b>全国<%= @prize_user.competition_prize.name %></b>”。
            <br/>特发此证，以资鼓励。
        </p>
      </div>
    </div>
  </body>
</html>