<html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/master">

  <head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  </head>

  <body tal:define="pendMember python:mtool.getMemberById(request['id'])" tal:omit-tag="" metal:fill-slot="main_no_tabs" i18n:domain="plinn">
    <div id="Desktop">
      <h2 i18n:translate="">Reject registration of <span tal:content="python:pendMember.getMemberFullName(0)" tal:omit-tag="" i18n:name="fullname"></span></h2>
      <form method="post" tal:attributes="action string:${portal_url}/member_registration_modify">
        <table>
          <tr>
            <td>
            	<span i18n:translate="" tal:omit-tag="">From:</span>
            	<span tal:replace="python:member.getMemberFullName(0)"/> &lt;<span tal:replace="member/email"/>&gt;
            </td>
          </tr>
          <tr>
            <td>
            	<span i18n:translate="" tal:omit-tag="">To:</span>
            	<span tal:replace="python:pendMember.getMemberFullName(0)" /> &lt;<span tal:replace="pendMember/email" />&gt;
				<input type="hidden" name="members.id:records" tal:attributes="value pendMember/getId" />
				<input type="hidden" name="members.checked:boolean:records" value="True" />
            </td>
          </tr>
          <tr>
            <td i18n:translate="">Subject:</td>
          </tr>
          <tr>
            <td>
              <input type="text" name="subject" value="Membership request denied" size="76" i18n:attributes="value" />
            </td>
          </tr>
          <tr>
            <td i18n:translate="">Message body:</td>
          </tr>
          <tr>
            <td>
              <textarea name="body" rows="18" cols="74" i18n:translate=""
              >I'm sorry to have to inform you that your request has been denied. Please contact the site administrator.</textarea>
            </td>
          </tr>
          <tr>
            <td>
              <input type="submit" name="reject" value="Send" i18n:attributes="value" />
            </td>
          </tr>
        </table>
      </form>
      <div></div>
    </div>
  </body>

</html>